Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 135 for faketime (0.27 sec)

  1. docs/vi/docs/features.md

    Bạn viết chuẩn Python với kiểu dữ liệu như sau:
    
    ```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
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. docs/zh/docs/features.md

    全部都基于标准的 **Python 3.6 类型**声明(感谢 Pydantic )。没有新的语法需要学习。只需要标准的 Python 。
    
    如果你需要2分钟来学习如何使用 Python 类型(即使你不使用 FastAPI ),看看这个简短的教程:[Python Types](python-types.md){.internal-link target=_blank}。
    
    编写带有类型标注的标准 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
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. docs/vi/docs/index.md

        * Chuyển đổi kiểu dữ liệu Python (`str`, `int`, `float`, `bool`, `list`,...).
        * `datetime` objects.
        * `UUID` objects.
        * Database models.
        * ...và nhiều hơn thế.
    * Tự động tạo tài liệu tương tác API, bao gồm 2 giao diện người dùng:
        * Swagger UI.
        * ReDoc.
    
    ---
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. docs/zh/docs/index.md

        * 查询参数
        * Cookies
        * 请求头
        * 表单
        * 文件
    * <abbr title="也被称为:序列化或解析">转换</abbr> 输出的数据:转换 Python 数据类型为供网络传输的 JSON 数据:
        * 转换 Python 基础类型 (`str`、 `int`、 `float`、 `bool`、 `list` 等)
        * `datetime` 对象
        * `UUID` 对象
        * 数据库模型
        * ......以及更多其他类型
    * 自动生成的交互式 API 文档,包括两种可选的用户界面:
        * Swagger UI
        * ReDoc
    
    ---
    
    回到前面的代码示例,**FastAPI** 将会:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. docs/ru/docs/index.md

        * Преобразование типов Python (`str`, `int`, `float`, `bool`, `list`, и т.д.).
        * Объекты `datetime`.
        * Объекты `UUID`.
        * Модели баз данных.
        * ...и многое другое.
    * Автоматическая интерактивная документация по API, включая 2 альтернативных пользовательских интерфейса:
        * Swagger UI.
        * ReDoc.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. docs/pl/docs/index.md

        * Przetwarzanie Pythonowych typów (`str`, `int`, `float`, `bool`, `list`, itp).
        * Obiekty `datetime`.
        * Obiekty `UUID`.
        * Modele baz danych.
        * ...i wiele więcej.
    * Automatyczne interaktywne dokumentacje API, wliczając 2 alternatywne interfejsy użytkownika:
        * Swagger UI.
        * ReDoc.
    
    ---
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/MoreFiles.java

    import java.nio.file.StandardOpenOption;
    import java.nio.file.attribute.BasicFileAttributeView;
    import java.nio.file.attribute.BasicFileAttributes;
    import java.nio.file.attribute.FileAttribute;
    import java.nio.file.attribute.FileTime;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.stream.Stream;
    import javax.annotation.CheckForNull;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/MoreFiles.java

    import java.nio.file.StandardOpenOption;
    import java.nio.file.attribute.BasicFileAttributeView;
    import java.nio.file.attribute.BasicFileAttributes;
    import java.nio.file.attribute.FileAttribute;
    import java.nio.file.attribute.FileTime;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.stream.Stream;
    import javax.annotation.CheckForNull;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. docs/tr/docs/alternatives.md

    biri de koddan veriyi alıp ağ üzerinde gönderilebilecek bir şeye çevirmek, yani veri <abbr title="Dönüşüm: serialization, marshalling olarak da biliniyor">dönüşümü</abbr>. Bu işleme veritabanındaki veriyi içeren bir objeyi JSON objesine çevirmek, `datetime` objelerini metinlere çevirmek gibi örnekler verilebilir.
    
    API'lara gereken bir diğer büyük özellik ise veri doğrulamadır, yani verinin çeşitli parametrelere bağlı olarak doğru ve tutarlı olduğundan emin olmaktır. Örneğin bir alanın `int`...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  10. docs/ru/docs/alternatives.md

    Например, превращение объекта содержащего данные из базы данных в объект JSON, конвертация объекта `datetime` в строку и т.п.
    
    Еще одна важная функция, необходимая API — проверка данных, позволяющая убедиться, что данные действительны и соответствуют заданным параметрам.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 39.3K bytes
    - Viewed (0)
Back to top