Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Deadpoolio (0.26 sec)

  1. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007_pv1.py

    @needs_pydanticv1
    def test_post(client: TestClient):
        yaml_data = """
            name: Deadpoolio
            tags:
            - x-force
            - x-men
            - x-avengers
            """
        response = client.post("/items/", content=yaml_data)
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "Deadpoolio",
            "tags": ["x-force", "x-men", "x-avengers"],
        }
    
    
    @needs_pydanticv1
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007.py

    @needs_pydanticv2
    def test_post(client: TestClient):
        yaml_data = """
            name: Deadpoolio
            tags:
            - x-force
            - x-men
            - x-avengers
            """
        response = client.post("/items/", content=yaml_data)
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "Deadpoolio",
            "tags": ["x-force", "x-men", "x-avengers"],
        }
    
    
    @needs_pydanticv2
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  3. docs_src/metadata/tutorial001_1.py

        title="ChimichangApp",
        description=description,
        summary="Deadpool's favorite app. Nuff said.",
        version="0.0.1",
        terms_of_service="http://example.com/terms/",
        contact={
            "name": "Deadpoolio the Amazing",
            "url": "http://x-force.example.com/contact/",
            "email": "******@****.***",
        },
        license_info={
            "name": "Apache 2.0",
            "identifier": "MIT",
        },
    )
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 767 bytes
    - Viewed (0)
  4. tests/test_tutorial/test_metadata/test_tutorial001.py

                "termsOfService": "http://example.com/terms/",
                "contact": {
                    "name": "Deadpoolio the Amazing",
                    "url": "http://x-force.example.com/contact/",
                    "email": "******@****.***",
                },
                "license": {
                    "name": "Apache 2.0",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  5. docs_src/metadata/tutorial001.py

        title="ChimichangApp",
        description=description,
        summary="Deadpool's favorite app. Nuff said.",
        version="0.0.1",
        terms_of_service="http://example.com/terms/",
        contact={
            "name": "Deadpoolio the Amazing",
            "url": "http://x-force.example.com/contact/",
            "email": "******@****.***",
        },
        license_info={
            "name": "Apache 2.0",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 805 bytes
    - Viewed (0)
  6. tests/test_tutorial/test_metadata/test_tutorial001_1.py

                "termsOfService": "http://example.com/terms/",
                "contact": {
                    "name": "Deadpoolio the Amazing",
                    "url": "http://x-force.example.com/contact/",
                    "email": "******@****.***",
                },
                "license": {
                    "name": "Apache 2.0",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  7. fastapi/applications.py

                    **Example**
    
                    ```python
                    app = FastAPI(
                        contact={
                            "name": "Deadpoolio the Amazing",
                            "url": "http://x-force.example.com/contact/",
                            "email": "******@****.***",
                        }
                    )
                    ```
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
Back to top