Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 131 for Cool (0.12 sec)

  1. docs/en/docs/tutorial/bigger-applications.md

    # Bigger Applications - Multiple Files
    
    If you are building an application or a web API, it's rarely the case that you can put everything on a single file.
    
    **FastAPI** provides a convenience tool to structure your application while keeping all the flexibility.
    
    !!! info
        If you come from Flask, this would be the equivalent of Flask's Blueprints.
    
    ## An example file structure
    
    Let's say you have a file structure like this:
    
    ```
    .
    ├── app
    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)
  2. docs/pt/docs/tutorial/extra-data-types.md

    # Tipos de dados extras
    
    Até agora, você tem usado tipos de dados comuns, tais como:
    
    * `int`
    * `float`
    * `str`
    * `bool`
    
    Mas você também pode usar tipos de dados mais complexos.
    
    E você ainda terá os mesmos recursos que viu até agora:
    
    * Ótimo suporte do editor.
    * Conversão de dados das requisições recebidas.
    * Conversão de dados para os dados da resposta.
    * Validação de dados.
    * Anotação e documentação automáticas.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/extra-data-types.md

    # Дополнительные типы данных
    
    До сих пор вы использовали простые типы данных, такие как:
    
    * `int`
    * `float`
    * `str`
    * `bool`
    
    Но вы также можете использовать и более сложные типы.
    
    При этом у вас останутся те же возможности , что и до сих пор:
    
    * Отличная поддержка редактора.
    * Преобразование данных из входящих запросов.
    * Преобразование данных для ответа.
    * Валидация данных.
    * Автоматическая аннотация и документация.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  4. docs_src/security/tutorial005_py310.py

    class TokenData(BaseModel):
        username: str | None = None
        scopes: list[str] = []
    
    
    class User(BaseModel):
        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
    
    oauth2_scheme = OAuth2PasswordBearer(
        tokenUrl="token",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  5. docs_src/security/tutorial005_an_py310.py

    class TokenData(BaseModel):
        username: str | None = None
        scopes: list[str] = []
    
    
    class User(BaseModel):
        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
    
    oauth2_scheme = OAuth2PasswordBearer(
        tokenUrl="token",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  6. docs/uk/docs/tutorial/extra-data-types.md

    # Додаткові типи даних
    
    До цього часу, ви використовували загальнопоширені типи даних, такі як:
    
    * `int`
    * `float`
    * `str`
    * `bool`
    
    Але можна також використовувати більш складні типи даних.
    
    І ви все ще матимете ті ж можливості, які були показані до цього:
    
    * Чудова підтримка редактора.
    * Конвертація даних з вхідних запитів.
    * Конвертація даних для відповіді.
    * Валідація даних.
    * Автоматична анотація та документація.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. docs/de/docs/alternatives.md

    Es verwendet unter der Haube Marshmallow, um die Datenvalidierung durchzuführen. Und es wurde von denselben Entwicklern erstellt.
    
    Es ist ein großartiges Tool und ich habe es auch oft verwendet, bevor ich **FastAPI** hatte.
    
    !!! info
        Webargs wurde von denselben Marshmallow-Entwicklern erstellt.
    
    !!! check "Inspirierte **FastAPI**"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:28 GMT 2024
    - 26.7K bytes
    - Viewed (0)
  8. docs/pt/docs/index.md

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  9. docs/vi/docs/index.md

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  10. docs/yo/docs/index.md

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 24.1K bytes
    - Viewed (0)
Back to top