Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 103 for myself (0.2 sec)

  1. docs/en/docs/tutorial/body-fields.md

    !!! note "Technical Details"
        Actually, `Query`, `Path` and others you'll see next create objects of subclasses of a common `Param` class, which is itself a subclass of Pydantic's `FieldInfo` class.
    
        And Pydantic's `Field` returns an instance of `FieldInfo` as well.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  2. docs_src/graphql/tutorial001.py

    from fastapi import FastAPI
    from strawberry.asgi import GraphQL
    
    
    @strawberry.type
    class User:
        name: str
        age: int
    
    
    @strawberry.type
    class Query:
        @strawberry.field
        def user(self) -> User:
            return User(name="Patrick", age=100)
    
    
    schema = strawberry.Schema(query=Query)
    
    
    graphql_app = GraphQL(schema)
    
    app = FastAPI()
    app.add_route("/graphql", graphql_app)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Oct 03 18:00:28 GMT 2021
    - 446 bytes
    - Viewed (0)
  3. docs/en/docs/alternatives.md

    !!! check "**FastAPI** uses it to"
        Handle all the core web parts. Adding features on top.
    
        The class `FastAPI` itself inherits directly from the class `Starlette`.
    
        So, anything that you can do with Starlette, you can do it directly with **FastAPI**, as it is basically Starlette on steroids.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/testing.md

    Then you just do the same in your tests.
    
    E.g.:
    
    * To pass a *path* or *query* parameter, add it to the URL itself.
    * To pass a JSON body, pass a Python object (e.g. a `dict`) to the parameter `json`.
    * If you need to send *Form Data* instead of JSON, use the `data` parameter instead.
    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)
  5. docs/de/docs/project-generation.md

    * **PGAdmin** für die PostgreSQL-Datenbank, können Sie problemlos ändern, sodass PHPMyAdmin und MySQL verwendet wird.
    * **Flower** für die Überwachung von Celery-Jobs.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:14:36 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  6. docs/fr/docs/project-generation.md

        * Fait aussi modulable que possible, pour pouvoir fonctionner comme tel, tout en pouvant être utilisé qu'en partie grâce à Vue CLI.
    * **PGAdmin** pour les bases de données PostgreSQL, facilement modifiable pour utiliser PHPMYAdmin ou MySQL.
    * **Flower** pour la surveillance de tâches Celery.
    * Équilibrage de charge entre le frontend et le backend avec **Traefik**, afin de pouvoir avoir les deux sur le même domaine, séparés par chemins, mais servis par différents conteneurs.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 02 14:18:06 GMT 2021
    - 6.7K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md

    ## Классы как зависимости
    
    Вы можете заметить, что для создания экземпляра класса в Python используется тот же синтаксис.
    
    Например:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    В данном случае `fluffy` является экземпляром класса `Cat`.
    
    А чтобы создать `fluffy`, вы "вызываете" `Cat`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jan 12 11:12:19 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  8. docs/ru/docs/deployment/docker.md

    Также там представлены и другие полезные образы, такие как базы данных:
    
    * <a href="https://hub.docker.com/_/postgres" class="external-link" target="_blank">PostgreSQL</a>
    * <a href="https://hub.docker.com/_/mysql" class="external-link" target="_blank">MySQL</a>
    * <a href="https://hub.docker.com/_/mongo" class="external-link" target="_blank">MongoDB</a>
    * <a href="https://hub.docker.com/_/redis" class="external-link" target="_blank">Redis</a>
    
    и т.п.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/sql-databases.md

    # SQL (关系型) 数据库
    
    **FastAPI**不需要你使用SQL(关系型)数据库。
    
    但是您可以使用任何您想要的关系型数据库。
    
    在这里,让我们看一个使用着[SQLAlchemy](https://www.sqlalchemy.org/)的示例。
    
    您可以很容易地将SQLAlchemy支持任何数据库,像:
    
    * PostgreSQL
    * MySQL
    * SQLite
    * Oracle
    * Microsoft SQL Server,等等其它数据库
    
    在此示例中,我们将使用**SQLite**,因为它使用单个文件并且 在Python中具有集成支持。因此,您可以复制此示例并按原样来运行它。
    
    稍后,对于您的产品级别的应用程序,您可能会要使用像**PostgreSQL**这样的数据库服务器。
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 27K bytes
    - Viewed (0)
  10. fastapi/param_functions.py

        embed: Annotated[
            bool,
            Doc(
                """
                When `embed` is `True`, the parameter will be expected in a JSON body as a
                key instead of being the JSON body itself.
    
                This happens automatically when more than one `Body` parameter is declared.
    
                Read more about it in the
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
Back to top