Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 149 for isNice (0.13 sec)

  1. tests/test_tuples.py

    from typing import List, Tuple
    
    from dirty_equals import IsDict
    from fastapi import FastAPI, Form
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class ItemGroup(BaseModel):
        items: List[Tuple[str, str]]
    
    
    class Coordinate(BaseModel):
        x: float
        y: float
    
    
    @app.post("/model-with-tuple/")
    def post_model_with_tuple(item_group: ItemGroup):
        return item_group
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  2. tests/test_annotated.py

    
    client = TestClient(app)
    
    foo_is_missing = {
        "detail": [
            IsDict(
                {
                    "loc": ["query", "foo"],
                    "msg": "Field required",
                    "type": "missing",
                    "input": None,
                }
            )
            # TODO: remove when deprecating Pydantic v1
            | IsDict(
                {
                    "loc": ["query", "foo"],
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. tests/test_sub_callbacks.py

                                "title": IsDict(
                                    {
                                        "title": "Title",
                                        "anyOf": [{"type": "string"}, {"type": "null"}],
                                    }
                                )
                                | IsDict(
                                    # TODO: remove when deprecating Pydantic v1
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py

                            "description": IsDict(
                                {
                                    "title": "Description",
                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                }
                            )
                            | IsDict(
                                # TODO: remove when deprecating Pydantic v1
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/ScalaAnnotationProcessingIntegrationTest.groovy

            inDirectory(annotationProcessorPublisher.projectDir).withTasks('publish').run()
    
            then:
            annotationProcessorPublisher.publishedJarFile.isFile()
            annotationProcessorPublisher.publishedPomFile.isFile()
    
            when:
            buildFile << basicScalaProject()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_sql_databases/test_sql_databases.py

                            "description": IsDict(
                                {
                                    "title": "Description",
                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                }
                            )
                            | IsDict(
                                # TODO: remove when deprecating Pydantic v1
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py

                            "description": IsDict(
                                {
                                    "title": "Description",
                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                }
                            )
                            | IsDict(
                                # TODO: remove when deprecating Pydantic v1
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py

                            "description": IsDict(
                                {
                                    "title": "Description",
                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                }
                            )
                            | IsDict(
                                # TODO: remove when deprecating Pydantic v1
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py39.py

                            "description": IsDict(
                                {
                                    "title": "Description",
                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                }
                            )
                            | IsDict(
                                # TODO: remove when deprecating Pydantic v1
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_sql_databases/test_sql_databases_py310.py

                            "description": IsDict(
                                {
                                    "title": "Description",
                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                }
                            )
                            | IsDict(
                                # TODO: remove when deprecating Pydantic v1
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top