Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 370 for some (0.27 sec)

  1. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    ```Python
    something()
    ```
    
    or
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    then it is a "callable".
    
    ## Classes as dependencies
    
    You might notice that to create an instance of a Python class, you use that same syntax.
    
    For example:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_body_fields/test_tutorial001_an.py

                    "price": 0.2,
                    "description": "Some bar",
                    "tax": "5.4",
                }
            },
        )
        assert response.status_code == 200
        assert response.json() == {
            "item_id": 6,
            "item": {
                "name": "Bar",
                "price": 0.2,
                "description": "Some bar",
                "tax": 5.4,
            },
        }
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_body_fields/test_tutorial001.py

                    "price": 0.2,
                    "description": "Some bar",
                    "tax": "5.4",
                }
            },
        )
        assert response.status_code == 200
        assert response.json() == {
            "item_id": 6,
            "item": {
                "name": "Bar",
                "price": 0.2,
                "description": "Some bar",
                "tax": 5.4,
            },
        }
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  4. architecture/platforms.md

    ### JVM platform
    
    This is a platform that builds on the core and software platforms to add support for developing software that runs on the JVM.
    This includes software that is implemented using Java, Kotlin or some other JVM language.
    
    This platform provides specific support for Java, Groovy and Scala, and includes the foojay toolchain plugin.
    
    ### Extensibility platform
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu May 02 06:42:46 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestFileWagon.java

    import org.apache.maven.wagon.events.TransferListener;
    import org.apache.maven.wagon.providers.file.FileWagon;
    import org.apache.maven.wagon.resource.Resource;
    
    /**
     * Wagon used for test cases that annotate some methods. Note that this is not a thread-safe implementation.
     */
    public class TestFileWagon extends FileWagon {
        private TestTransferListener testTransferListener;
        private boolean insideGet;
    
        @Deprecated
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_body_fields/test_tutorial001_py310.py

                    "price": 0.2,
                    "description": "Some bar",
                    "tax": "5.4",
                }
            },
        )
        assert response.status_code == 200
        assert response.json() == {
            "item_id": 6,
            "item": {
                "name": "Bar",
                "price": 0.2,
                "description": "Some bar",
                "tax": 5.4,
            },
        }
    
    
    @needs_py310
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_body_fields/test_tutorial001_an_py39.py

                    "price": 0.2,
                    "description": "Some bar",
                    "tax": "5.4",
                }
            },
        )
        assert response.status_code == 200
        assert response.json() == {
            "item_id": 6,
            "item": {
                "name": "Bar",
                "price": 0.2,
                "description": "Some bar",
                "tax": 5.4,
            },
        }
    
    
    @needs_py39
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java

    import java.util.Map;
    import java.util.Objects;
    
    import org.apache.maven.artifact.repository.metadata.Metadata;
    import org.apache.maven.metadata.v4.MetadataStaxReader;
    
    /**
     * Handles deserialization of metadata from some kind of textual format like XML.
     *
     */
    @Named
    @Singleton
    public class DefaultMetadataReader implements MetadataReader {
    
        public Metadata read(File input, Map<String, ?> options) throws IOException {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  9. .github/workflows/submit-github-dependency-graph.yml

          with:
            # Action runs a custom dependencies task that fails with config-cache on Gradle 8.7 (works with 8.6)
            additional-arguments: --no-configuration-cache
          env:
            # Exclude some projects and configurations that should not contribute to the dependency graph
            DEPENDENCY_GRAPH_EXCLUDE_PROJECTS: ':docs|:internal-performance-testing|:enterprise-plugin-performance|:performance|:internal-integ-testing'
    Others
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu May 02 09:13:16 GMT 2024
    - 1.1K bytes
    - Viewed (2)
  10. cmd/erasure-sets.go

    All disks online
    -----------------
    - All Unformatted - format all and return success.
    - Some Unformatted - format all and return success.
    - Any JBOD inconsistent - return failure
    - Some are corrupt (missing format.json) - return failure
    - Any unrecognized disks - return failure
    
    Some disks are offline and we have quorum.
    -----------------
    - Some unformatted - format all and return success,
      treat disks offline as corrupted.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
Back to top