Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for Tate (2.42 sec)

  1. docs/ja/docs/features.md

    型を使用した標準的なPythonを記述します:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    # and get editor support inside the function
    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    これは以下のように用いられます:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. docs/en/docs/release-notes.md

    * ♻️ Refactor computing FastAPI People, include 3 months, 6 months, 1 year, based on comment date, not discussion date. PR [#11304](https://github.com/tiangolo/fastapi/pull/11304) by [@tiangolo](https://github.com/tiangolo).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  3. docs/pt/docs/tutorial/extra-data-types.md

    * `datetime.datetime`:
        * O `datetime.datetime` do Python.
        * Em requisições e respostas será representado como uma `str` no formato ISO 8601, exemplo: `2008-09-15T15:53:00+05:00`.
    * `datetime.date`:
        * O `datetime.date` do Python.
        * Em requisições e respostas será representado como uma `str` no formato ISO 8601, exemplo: `2008-09-15`.
    * `datetime.time`:
        * O `datetime.time` do Python.
    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)
  4. docs/ru/docs/tutorial/extra-data-types.md

    * `datetime.datetime`:
        * Встроенный в Python `datetime.datetime`.
        * В запросах и ответах будет представлен как `str` в формате ISO 8601, например: `2008-09-15T15:53:00+05:00`.
    * `datetime.date`:
        * Встроенный в Python `datetime.date`.
        * В запросах и ответах будет представлен как `str` в формате ISO 8601, например: `2008-09-15`.
    * `datetime.time`:
        * Встроенный в Python `datetime.time`.
    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)
  5. docs_src/openapi_webhooks/tutorial001.py

    from datetime import datetime
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Subscription(BaseModel):
        username: str
        monthly_fee: float
        start_date: datetime
    
    
    @app.webhooks.post("new-subscription")
    def new_subscription(body: Subscription):
        """
        When a new user subscribes to your service we'll send you a POST request with this
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Oct 20 09:00:44 GMT 2023
    - 550 bytes
    - Viewed (0)
  6. docs/uk/docs/tutorial/extra-data-types.md

    * `datetime.datetime`:
        * Пайтонівський `datetime.datetime`.
        * У запитах та відповідях буде представлений як `str` в форматі ISO 8601, як: `2008-09-15T15:53:00+05:00`.
    * `datetime.date`:
        * Пайтонівський `datetime.date`.
        * У запитах та відповідях буде представлений як `str` в форматі ISO 8601, як: `2008-09-15`.
    * `datetime.time`:
        * Пайтонівський `datetime.time`.
    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_src/websockets/tutorial003_py39.py

                <input type="text" id="messageText" autocomplete="off"/>
                <button>Send</button>
            </form>
            <ul id='messages'>
            </ul>
            <script>
                var client_id = Date.now()
                document.querySelector("#ws-id").textContent = client_id;
                var ws = new WebSocket(`ws://localhost:8000/ws/${client_id}`);
                ws.onmessage = function(event) {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  8. docs/en/docs/features.md

    You write standard Python with types:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    # and get editor support inside the function
    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    That can then be used like:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  9. docs/pt/docs/features.md

    Você escreve Python padrão com tipos:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare uma variável como str
    # e obtenha suporte do editor dentro da função
    def main(user_id: str):
        return user_id
    
    
    # Um modelo do Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Que então pode ser usado como:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  10. docs/fr/docs/features.md

    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Déclare une variable comme étant une str
    # et profitez de l'aide de votre IDE dans cette fonction
    def main(user_id: str):
        return user_id
    
    
    # Un modèle Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    Qui peuvent ensuite être utilisés comme cela:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.1K bytes
    - Viewed (0)
Back to top