Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for get_path_param_lt_int (0.13 sec)

  1. tests/main.py

    def get_path_param_gt_int(item_id: int = Path(gt=3)):
        return item_id
    
    
    @app.get("/path/param-le-int/{item_id}")
    def get_path_param_le_int(item_id: int = Path(le=3)):
        return item_id
    
    
    @app.get("/path/param-ge-int/{item_id}")
    def get_path_param_ge_int(item_id: int = Path(ge=3)):
        return item_id
    
    
    @app.get("/path/param-lt-gt-int/{item_id}")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top