Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 158 for name (0.17 sec)

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

                if author_time > one_month_ago:
                    last_month_commenters[author_name] += 1
                if author_time > three_months_ago:
                    three_months_commenters[author_name] += 1
                if author_time > six_months_ago:
                    six_months_commenters[author_name] += 1
                if author_time > one_year_ago:
                    one_year_commenters[author_name] += 1
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 17:38:21 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  2. docs/em/docs/advanced/settings.md

        ```console
        // You could create an env var MY_NAME with
        $ export MY_NAME="Wade Wilson"
    
        // Then you could use it with other programs, like
        $ echo "Hello $MY_NAME"
    
        Hello Wade Wilson
        ```
    
        </div>
    
    === "🚪 📋"
    
        <div class="termy">
    
        ```console
        // Create an env var MY_NAME
        $ $Env:MY_NAME = "Wade Wilson"
    
        // Use it with other programs, like
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  3. docs/en/docs/python-types.md

    ```
    
    That's it.
    
    Those are the "type hints":
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial002.py!}
    ```
    
    That is not the same as declaring default values like would be with:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    It's a different thing.
    
    We are using colons (`:`), not equals (`=`).
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  4. .github/actions/notify-translations/app/main.py

    all_discussions_query = """
    query Q($category_id: ID) {
      repository(name: "fastapi", owner: "tiangolo") {
        discussions(categoryId: $category_id, first: 100) {
          nodes {
            title
            id
            number
            labels(first: 10) {
              edges {
                node {
                  id
                  name
                }
              }
            }
          }
        }
      }
    }
    """
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Sep 27 23:01:46 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  5. tests/test_schema_extra_examples.py

        #     return firstname
    
        # @app.post("/form_examples")
        # def form_examples(
        #     lastname: str = Form(
        #         ...,
        #         examples={
        #             "example1": {"summary": "last name summary", "value": "Doe"},
        #             "example2": {"value": "Doesn't"},
        #         },
        #     ),
        # ):
        #     return lastname
    
        # @app.post("/form_example_examples")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 37.7K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_sql_databases/test_sql_databases.py

                                    "title": "Skip",
                                    "type": "integer",
                                    "default": 0,
                                },
                                "name": "skip",
                                "in": "query",
                            },
                            {
                                "required": False,
                                "schema": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.1K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py

                                    "title": "Skip",
                                    "type": "integer",
                                    "default": 0,
                                },
                                "name": "skip",
                                "in": "query",
                            },
                            {
                                "required": False,
                                "schema": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/https.md

    Here's an example of how an HTTPS API could look like, step by step, paying attention mainly to the ideas important for developers.
    
    ### Domain Name
    
    It would probably all start by you **acquiring** some **domain name**. Then, you would configure it in a DNS server (possibly your same cloud provider).
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_security/test_tutorial005_py39.py

                                {"title": "Email", "type": "string"}
                            ),
                            "full_name": IsDict(
                                {
                                    "title": "Full Name",
                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                }
                            )
                            | IsDict(
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  10. docs/de/docs/features.md

    def main(user_id: str):
        return user_id
    
    
    # Ein Pydantic-Modell
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Das kann nun wie folgt verwendet werden:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
        "id": 4,
        "name": "Mary",
        "joined": "2018-11-30",
    }
    
    my_second_user: User = User(**second_user_data)
    ```
    
    !!! info
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 19:43:43 GMT 2024
    - 10.8K bytes
    - Viewed (0)
Back to top