Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for compact (0.15 sec)

  1. fastapi/dependencies/models.py

    from typing import Any, Callable, List, Optional, Sequence
    
    from fastapi._compat import ModelField
    from fastapi.security.base import SecurityBase
    
    
    class SecurityRequirement:
        def __init__(
            self, security_scheme: SecurityBase, scopes: Optional[Sequence[str]] = None
        ):
            self.security_scheme = security_scheme
            self.scopes = scopes
    
    
    class Dependant:
        def __init__(
            self,
            *,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  2. fastapi/openapi/models.py

        url: Optional[AnyUrl] = None
    
    
    class Info(BaseModelWithConfig):
        title: str
        summary: Optional[str] = None
        description: Optional[str] = None
        termsOfService: Optional[str] = None
        contact: Optional[Contact] = None
        license: Optional[License] = None
        version: str
    
    
    class ServerVariable(BaseModelWithConfig):
        enum: Annotated[Optional[List[str]], Field(min_length=1)] = None
        default: str
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 22:49:33 GMT 2024
    - 15K bytes
    - Viewed (1)
Back to top