Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for __init__ (0.23 sec)

  1. fastapi/__init__.py

    SebastiΓ‘n RamΓ­rez <******@****.***> 1714690218 -0700
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:50:18 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. tensorflow/api_template.__init__.py

    sub-modules, as described below.
    
    Note that the file `__init__.py` in the TensorFlow source code tree is actually
    only a placeholder to enable test cases to run. The TensorFlow build replaces
    this file with a file generated from [`api_template.__init__.py`](https://www.github.com/tensorflow/tensorflow/blob/master/tensorflow/api_template.__init__.py)
    """
    # pylint: disable=g-bad-import-order,protected-access,g-import-not-at-top
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 06:27:59 GMT 2024
    - 6.7K bytes
    - Viewed (3)
  3. tensorflow/api_template_v1.__init__.py

    A. Unique TensorFlower <******@****.***> 1705975132 -0800
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. fastapi/exceptions.py

    
    class RequestValidationError(ValidationException):
        def __init__(self, errors: Sequence[Any], *, body: Any = None) -> None:
            super().__init__(errors)
            self.body = body
    
    
    class WebSocketRequestValidationError(ValidationException):
        pass
    
    
    class ResponseValidationError(ValidationException):
        def __init__(self, errors: Sequence[Any], *, body: Any = None) -> None:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  5. fastapi/params.py

            use_kwargs = {k: v for k, v in kwargs.items() if v is not _Unset}
    
            super().__init__(**use_kwargs)
    
        def __repr__(self) -> str:
            return f"{self.__class__.__name__}({self.default})"
    
    
    class Path(Param):
        in_ = ParamTypes.path
    
        def __init__(
            self,
            default: Any = ...,
            *,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 27.5K bytes
    - Viewed (1)
  6. fastapi/security/oauth2.py

        group and organize permissions, you could do it as well in your application, just
        know that that it is application specific, it's not part of the specification.
        """
    
        def __init__(
            self,
            *,
            grant_type: Annotated[
                Union[str, None],
                Form(pattern="password"),
                Doc(
                    """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  7. docs/em/docs/tutorial/bigger-applications.md

    ## πŸ–Ό πŸ“ πŸ“Š
    
    ➑️ πŸ’¬ πŸ‘† βœ”οΈ πŸ“ πŸ“Š πŸ’– πŸ‘‰:
    
    ```
    .
    β”œβ”€β”€ app
    β”‚Β Β  β”œβ”€β”€ __init__.py
    β”‚Β Β  β”œβ”€β”€ main.py
    β”‚Β Β  β”œβ”€β”€ dependencies.py
    β”‚Β Β  └── routers
    β”‚Β Β  β”‚   β”œβ”€β”€ __init__.py
    β”‚Β Β  β”‚   β”œβ”€β”€ items.py
    β”‚Β Β  β”‚   └── users.py
    β”‚Β Β  └── internal
    β”‚Β Β      β”œβ”€β”€ __init__.py
    β”‚Β Β      └── admin.py
    ```
    
    !!! tip
        πŸ“€ πŸ“š `__init__.py` πŸ“: 1️⃣ πŸ”  πŸ“ βš–οΈ πŸ“.
    
        πŸ‘‰ βš«οΈβ” βœ” 🏭 πŸ“Ÿ βšͺ️➑️ 1️⃣ πŸ“ πŸ”˜ βž•1️⃣.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/bigger-applications.md

    Nehmen wir an, Sie haben eine Dateistruktur wie diese:
    
    ```
    .
    β”œβ”€β”€ app
    β”‚Β Β  β”œβ”€β”€ __init__.py
    β”‚Β Β  β”œβ”€β”€ main.py
    β”‚Β Β  β”œβ”€β”€ dependencies.py
    β”‚Β Β  └── routers
    β”‚Β Β  β”‚   β”œβ”€β”€ __init__.py
    β”‚Β Β  β”‚   β”œβ”€β”€ items.py
    β”‚Β Β  β”‚   └── users.py
    β”‚Β Β  └── internal
    β”‚Β Β      β”œβ”€β”€ __init__.py
    β”‚Β Β      └── admin.py
    ```
    
    !!! tip "Tipp"
        Es gibt mehrere `__init__.py`-Dateien: eine in jedem Verzeichnis oder Unterverzeichnis.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:27:59 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/bigger-applications.md

    Let's say you have a file structure like this:
    
    ```
    .
    β”œβ”€β”€ app
    β”‚Β Β  β”œβ”€β”€ __init__.py
    β”‚Β Β  β”œβ”€β”€ main.py
    β”‚Β Β  β”œβ”€β”€ dependencies.py
    β”‚Β Β  └── routers
    β”‚Β Β  β”‚   β”œβ”€β”€ __init__.py
    β”‚Β Β  β”‚   β”œβ”€β”€ items.py
    β”‚Β Β  β”‚   └── users.py
    β”‚Β Β  └── internal
    β”‚Β Β      β”œβ”€β”€ __init__.py
    β”‚Β Β      └── admin.py
    ```
    
    !!! tip
        There are several `__init__.py` files: one in each directory or subdirectory.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/testing.md

    ```
    .
    β”œβ”€β”€ app
    β”‚Β Β  β”œβ”€β”€ __init__.py
    β”‚Β Β  └── main.py
    ```
    
    In the file `main.py` you have your **FastAPI** app:
    
    
    ```Python
    {!../../../docs_src/app_testing/main.py!}
    ```
    
    ### Testing file
    
    Then you could have a file `test_main.py` with your tests. It could live on the same Python package (the same directory with a `__init__.py` file):
    
    ``` hl_lines="5"
    .
    β”œβ”€β”€ app
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.2K bytes
    - Viewed (0)
Back to top