Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 9,218 for Gitter (0.17 sec)

  1. tests/test_filter_pydantic_sub_model/test_filter_pydantic_sub_model_pv1.py

    from ..utils import needs_pydanticv1
    
    
    @pytest.fixture(name="client")
    def get_client():
        from .app_pv1 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_pydanticv1
    def test_filter_sub_model(client: TestClient):
        response = client.get("/model/modelA")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "modelA",
            "description": "model-a-desc",
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  2. tests/test_filter_pydantic_sub_model_pv2.py

            return {"name": name, "description": "model-a-desc", "foo": model_c}
    
        client = TestClient(app)
        return client
    
    
    @needs_pydanticv2
    def test_filter_sub_model(client: TestClient):
        response = client.get("/model/modelA")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "modelA",
            "description": "model-a-desc",
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  3. tests/test_response_model_data_filter_no_inheritance.py

        return [pet1, pet2]
    
    
    client = TestClient(app)
    
    
    def test_filter_top_level_model():
        response = client.post(
            "/users", json={"email": "******@****.***", "password": "secret"}
        )
        assert response.json() == {"email": "******@****.***"}
    
    
    def test_filter_second_level_model():
        response = client.get("/pets/1")
        assert response.json() == {
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.resolver.filter;
    
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.Set;
    
    /**
     * Filter to only retain objects in the given scope or better. This implementation allows the accumulation of multiple
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AbstractScopeArtifactFilter.java

     * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.resolver.filter;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * Filter to only retain objects in the given artifactScope or better.
     *
     */
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilter.java

     * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.resolver.filter;
    
    import java.util.Objects;
    
    /**
     * Filter to only retain objects in the given artifactScope or better.
     *
     */
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

         *
         * @param node the dependency node
         * @param dep the dependency for the given node, or {@code null} if none
         * @param filter filter the paths accepted by the tool which will consume the path.
         * @param path the path to the dependency, or {@code null} if the dependency was null
         * @param cache cache of module information about each dependency
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  8. CONTRIBUTING.md

    Run the `./gradlew sanityCheck` task again to make sure there are no more errors.
    
    #### Filtering changes by severity
    
    There is a somewhat non-obvious filter present on the page that allows you to control which type of messages are displayed.
    The filter is a dropdown box that appears when you click the `Severity ⬇️ ` label in the black header bar to the immediate right of the Gradle version.
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Feb 09 15:30:53 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Information about the modules contained in a path element.
     * The path element may be a JAR file or a directory. Directories may use either package hierarchy
     * or module hierarchy, but not module source hierarchy. The latter is excluded because this class
     * is for path elements of compiled codes.
     */
    class PathModularization {
        /**
         * A unique constant for all non-modular dependencies.
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

    import java.util.regex.Pattern;
    
    public class SourceMetaDataVisitor extends VoidVisitorAdapter<ClassMetaDataRepository<ClassMetaData>> {
        private static final Pattern GETTER_METHOD_NAME = Pattern.compile("(get|is)(.+)");
        private static final Pattern SETTER_METHOD_NAME = Pattern.compile("set(.+)");
        private final List<ClassMetaData> allClasses = new ArrayList<ClassMetaData>();
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Thu Sep 21 13:27:02 GMT 2023
    - 11.7K bytes
    - Viewed (0)
Back to top