Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for get_path_param_names (0.06 sec)

  1. fastapi/utils.py

            "4XX",
            "5XX",
        }:
            return True
        current_status_code = int(status_code)
        return not (current_status_code < 200 or current_status_code in {204, 205, 304})
    
    
    def get_path_param_names(path: str) -> set[str]:
        return set(re.findall("{(.*?)}", path))
    
    
    _invalid_args_message = (
        "Invalid args for response field! Hint: "
        "check that {type_} is a valid Pydantic field type. "
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top