Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 701 - 710 of 3,335 for None (0.02 seconds)

  1. tests/test_filter_pydantic_sub_model_pv2.py

        app = FastAPI()
    
        class ModelB(BaseModel):
            username: str
    
        class ModelC(ModelB):
            password: str
    
        class ModelA(BaseModel):
            name: str
            description: Optional[str] = None
            foo: ModelB
            tags: dict[str, str] = {}
    
            @field_validator("name")
            def lower_username(cls, name: str, info: ValidationInfo):
                if not name.endswith("A"):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayStatusService.kt

    import org.gradle.api.services.BuildServiceParameters
    import java.io.Closeable
    import java.util.concurrent.ConcurrentHashMap
    
    internal abstract class NullawayStatusService : BuildService<BuildServiceParameters.None>, Closeable {
        private val projectsWithNullAwayEnabled = ConcurrentHashMap.newKeySet<String>()
        private val projectsWithUncheckedDeps = ConcurrentHashMap.newKeySet<String>()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Aug 20 13:18:23 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/GenerateApiMapping.java

    import java.io.PrintWriter;
    import java.util.Collection;
    import java.util.Map;
    
    @NullMarked
    @CacheableTask
    public abstract class GenerateApiMapping extends DefaultTask {
        @PathSensitive(PathSensitivity.NONE)
        @InputFile
        public abstract RegularFileProperty getMetaDataFile();
    
        @OutputFile
        public abstract RegularFileProperty getMappingDestFile();
    
        /**
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Mar 12 15:56:21 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileActivationContext.java

         */
        Map<String, String> getUserProperties();
    
        /**
         * Gets the base directory of the current project (if any).
         *
         * @return The base directory of the current project or {@code null} if none.
         */
        File getProjectDirectory();
    
        /**
         * Gets current calculated project properties
         *
         * @return The project properties, never {@code null}.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy

        abstract DirectoryProperty getStylesheetDirectory();
    
        @PathSensitive(PathSensitivity.RELATIVE)
        @InputFiles
        abstract ConfigurableFileCollection getDocbookStylesheets()
    
        @PathSensitive(PathSensitivity.NONE)
        @InputFile
        abstract RegularFileProperty getStylesheetHighlightFile();
    
        @Classpath
        abstract ConfigurableFileCollection getClasspath();
    
        @OutputDirectory
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 04 07:24:54 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  6. docs/pt/docs/tutorial/extra-models.md

    E se chamarmos:
    
    ```Python
    print(user_dict)
    ```
    
    terĂ­amos um `dict` Python com:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    #### Desembrulhando um `dict` { #unpacking-a-dict }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  7. cmd/sftp-server_test.go

    	newSSHCon := newSSHConnMock("fahim=ldap")
    	_, err = sshPubKeyAuth(newSSHCon, testKey)
    	if err == nil {
    		c.Fatalf("expected error but got none")
    	}
    
    	newSSHCon = newSSHConnMock("fahim")
    	_, err = sshPubKeyAuth(newSSHCon, testKey)
    	if err == nil {
    		c.Fatalf("expected error but got none")
    	}
    }
    
    func (s *TestSuiteIAM) SFTPFailedAuthDueToMissingPolicy(c *check) {
    	newSSHCon := newSSHConnMock("dillon=ldap")
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Feb 27 18:43:32 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_path_params_numeric_validations/test_tutorial002_tutorial003.py

        response = client.get("/items/42")
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
                    "loc": ["query", "q"],
                    "input": None,
                    "msg": "Field required",
                    "type": "missing",
                }
            ]
        }
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_schema_extra_example/test_tutorial005.py

                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
            },
        )
        assert response.status_code == 200
    
    
    def test_openapi_schema(client: TestClient) -> None:
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  10. README.md

    **Raspberry Pi 2 and 3**      | [![Status](https://storage.googleapis.com/tensorflow-kokoro-build-badges/rpi23-py3.svg)](https://storage.googleapis.com/tensorflow-kokoro-build-badges/rpi23-py3.html)           | [Py3](https://storage.googleapis.com/tensorflow-nightly/tensorflow-1.10.0-cp34-none-linux_armv7l.whl)
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Jul 18 14:09:03 GMT 2025
    - 11.6K bytes
    - Click Count (0)
Back to Top