Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 135 for faketime (0.11 sec)

  1. .github/actions/people/app/main.py

    import logging
    import subprocess
    import sys
    from collections import Counter, defaultdict
    from datetime import datetime, timedelta, timezone
    from pathlib import Path
    from typing import Any, Container, DefaultDict, Dict, List, Set, Union
    
    import httpx
    import yaml
    from github import Github
    from pydantic import BaseModel, SecretStr
    from pydantic_settings import BaseSettings
    
    github_graphql_url = "https://api.github.com/graphql"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:13:50 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. dbflute_fess/dfprop/databaseInfoMap.dfprop

    # | FLOAT         | java.math.BigDecimal | decimal?      |
    # | DOUBLE        | java.math.BigDecimal | decimal?      |
    # | DATE          | java.util.Date       | DateTime?     |
    # | TIME          | java.sql.Time        | DateTime?     |
    # | TIMESTAMP     | java.sql.Timestamp   | DateTime?     |
    # | BIT           | java.lang.Boolean    | bool?         |
    # | BOOLEAN       | java.lang.Boolean    | bool?         |
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 31 23:35:14 UTC 2015
    - 7.3K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_extra_data_types/test_tutorial001_an.py

                            "start_datetime": {
                                "title": "Start Datetime",
                                "type": "string",
                                "format": "date-time",
                            },
                            "end_datetime": {
                                "title": "End Datetime",
                                "type": "string",
                                "format": "date-time",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Apr 19 00:11:40 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py39.py

                            "start_datetime": {
                                "title": "Start Datetime",
                                "type": "string",
                                "format": "date-time",
                            },
                            "end_datetime": {
                                "title": "End Datetime",
                                "type": "string",
                                "format": "date-time",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Apr 19 00:11:40 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_extra_data_types/test_tutorial001_py310.py

                            "start_datetime": {
                                "title": "Start Datetime",
                                "type": "string",
                                "format": "date-time",
                            },
                            "end_datetime": {
                                "title": "End Datetime",
                                "type": "string",
                                "format": "date-time",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Apr 19 00:11:40 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/body-updates.md

    Sie können den `jsonable_encoder` verwenden, um die empfangenen Daten in etwas zu konvertieren, das als JSON gespeichert werden kann (in z. B. einer NoSQL-Datenbank). Zum Beispiel, um ein `datetime` in einen `str` zu konvertieren.
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="28-33"
    {!> ../../docs_src/body_updates/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/body-updates.md

    ℹ 🏬 👆 💪 ⚙️ <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PUT" class="external-link" target="_blank">🇺🇸🔍 `PUT`</a> 🛠️.
    
    👆 💪 ⚙️ `jsonable_encoder` 🗜 🔢 💽 📊 👈 💪 🏪 🎻 (✅ ⏮️ ☁ 💽). 🖼, 🏭 `datetime` `str`.
    
    //// tab | 🐍 3️⃣.6️⃣ &amp; 🔛
    
    ```Python hl_lines="30-35"
    {!> ../../docs_src/body_updates/tutorial001.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.9️⃣ &amp; 🔛
    
    ```Python hl_lines="30-35"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/body-updates.md

    ## 用 `PUT` 更新数据
    
    更新数据请用 <a href="https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Methods/PUT" class="external-link" target="_blank">HTTP `PUT`</a> 操作。
    
    把输入数据转换为以 JSON 格式存储的数据(比如,使用 NoSQL 数据库时),可以使用 `jsonable_encoder`。例如,把 `datetime` 转换为 `str`。
    
    ```Python hl_lines="30-35"
    {!../../docs_src/body_updates/tutorial001.py!}
    ```
    
    `PUT` 用于接收替换现有数据的数据。
    
    ### 关于更新数据的警告
    
    用 `PUT` 把数据项 `bar` 更新为以下内容时:
    
    ```Python
    {
        "name": "Barz",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/response-directly.md

    Por exemplo, você não pode colocar um modelo do Pydantic em uma `JSONResponse` sem antes convertê-lo em um `dict` com todos os tipos de dados (como `datetime`, `UUID`, etc) convertidos para tipos compatíveis com JSON.
    
    Para esses casos, você pode usar o `jsonable_encoder` para converter seus dados antes de repassá-los para a resposta:
    
    ```Python hl_lines="6-7  21-22"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. ci/official/utilities/extract_resultstore_links.py

      """Creates a JUnit-based XML file, with each invocation as a testcase."""
      os.makedirs(os.path.dirname(output_path), exist_ok=True)
      failure_count = 0
      error_count = 0
    
      date_time = datetime.datetime
      attrib = {'name': 'Bazel Invocations', 'time': '0.0',
                'timestamp': date_time.isoformat(date_time.utcnow())}
      testsuites = ElemTree.Element('testsuites')
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Nov 08 17:50:27 UTC 2023
    - 10.9K bytes
    - Viewed (0)
Back to top