Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for male (0.16 sec)

  1. fastapi/openapi/utils.py

                else:
                    # It would probably make more sense for all response classes to have an
                    # explicit default status_code, and to extract it from them, instead of
                    # doing this inspection tricks, that would probably be in the future
                    # TODO: probably make status_code a default class attribute for all
                    # responses in Starlette
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
  2. fastapi/openapi/models.py

    from typing_extensions import Annotated, Literal, TypedDict
    from typing_extensions import deprecated as typing_deprecated
    
    try:
        import email_validator
    
        assert email_validator  # make autoflake ignore the unused import
        from pydantic import EmailStr
    except ImportError:  # pragma: no cover
    
        class EmailStr(str):  # type: ignore
            @classmethod
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 22:49:33 GMT 2024
    - 15K bytes
    - Viewed (1)
  3. fastapi/_compat.py

    from pydantic.version import VERSION as P_VERSION
    from starlette.datastructures import UploadFile
    from typing_extensions import Annotated, Literal, get_args, get_origin
    
    # Reassign variable to make it reexported for mypy
    PYDANTIC_VERSION = P_VERSION
    PYDANTIC_V2 = PYDANTIC_VERSION.startswith("2.")
    
    
    sequence_annotation_to_type = {
        Sequence: list,
        List: list,
        list: list,
        Tuple: tuple,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. fastapi/encoders.py

                """
            ),
        ] = True,
    ) -> Any:
        """
        Convert any object to something that can be encoded in JSON.
    
        This is used internally by FastAPI to make sure anything you return can be
        encoded as JSON before it is sent to the client.
    
        You can also use it yourself, for example to convert objects before saving them
        in a database that supports only JSON.
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  5. configure.py

      Returns:
        boolean value of the variable.
    
      Raises:
        UserInputError: if an environment variable is set, but it cannot be
          interpreted as a boolean indicator, assume that the user has made a
          scripting error, and will continue to provide invalid input.
          Raise the error to avoid infinitely looping.
      """
      if not question:
        question = 'Do you wish to build TensorFlow with {} support?'.format(
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
Back to top