Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 114 for null (0.01 seconds)

  1. tests/test_tutorial/test_security/test_tutorial004.py

                                "title": "Email",
                                "anyOf": [{"type": "string"}, {"type": "null"}],
                            },
                            "full_name": {
                                "title": "Full Name",
                                "anyOf": [{"type": "string"}, {"type": "null"}],
                            },
                            "disabled": {
                                "title": "Disabled",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_body_multiple_params/test_tutorial004.py

                                "anyOf": [{"type": "string"}, {"type": "null"}],
                            },
                            "price": {"title": "Price", "type": "number"},
                            "tax": {
                                "title": "Tax",
                                "anyOf": [{"type": "number"}, {"type": "null"}],
                            },
                        },
                    },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_response_model/test_tutorial003.py

                                    "format": "email",
                                },
                                "full_name": {
                                    "title": "Full Name",
                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                },
                            },
                        },
                        "UserIn": {
                            "title": "UserIn",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_sql_databases/test_tutorial002.py

                                "name": {
                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                    "title": "Name",
                                },
                                "age": {
                                    "anyOf": [{"type": "integer"}, {"type": "null"}],
                                    "title": "Age",
                                },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  5. tests/test_infer_param_optionality.py

                                "name": "user_id",
                                "in": "query",
                                "schema": {
                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                    "title": "User Id",
                                },
                            }
                        ],
                        "responses": {
                            "200": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  6. tests/test_request_params/test_query/test_optional_str.py

    def test_optional_str_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == [
            {
                "required": False,
                "schema": {
                    "anyOf": [{"type": "string"}, {"type": "null"}],
                    "title": "P",
                },
                "name": "p",
                "in": "query",
            }
        ]
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-str", "/model-optional-str"],
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedViolationsProvider.groovy

        private final File acceptedViolationsDir
        private Map<String, String> acceptedViolations = null
    
        AcceptedViolationsProvider(Directory acceptedViolationsDir) {
            this.acceptedViolationsDir = acceptedViolationsDir.asFile
        }
    
        Map<String, String> get() {
            if (acceptedViolations == null) {
                acceptedViolations = AcceptedApiChanges.parse(
                    acceptedViolationsDir.listFiles()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

        @TempDir
        File testDir
    
        ViolationCheckContext context = new ViolationCheckContext() {
            Map userData = [seenApiChanges: [] as Set]
    
            String getClassName() { return null }
    
            Map<String, ?> getUserData() { return userData }
    
            Object getUserData(String key) {
                return userData[key]
            }
    
            void putUserData(String key, Object value) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 2K bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/configurations/StageTriggers.kt

                if (!stage.runsIndependent && prevStage != null) {
                    dependOnPreviousStageTrigger(model, prevStage, os)
                }
    
                snapshotDependencies(dependencies)
            }
        })
    
    fun Dependencies.dependOnPreviousStageTrigger(
        model: CIBuildModel,
        prevStage: Stage,
        os: Os? = null,
    ) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 12:17:39 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. tests/test_request_params/test_body/test_optional_str.py

        assert app.openapi()["components"]["schemas"][body_model_name] == {
            "properties": {
                "p": {
                    "anyOf": [{"type": "string"}, {"type": "null"}],
                    "title": "P",
                },
            },
            "title": body_model_name,
            "type": "object",
        }
    
    
    def test_optional_str_missing():
        client = TestClient(app)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 11.6K bytes
    - Click Count (0)
Back to Top