Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 922 for Optional (0.05 sec)

  1. tests/test_skip_defaults.py

    from typing import Optional
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class SubModel(BaseModel):
        a: Optional[str] = "foo"
    
    
    class Model(BaseModel):
        x: Optional[int] = None
        sub: SubModel
    
    
    class ModelSubclass(Model):
        y: int
        z: int = 0
        w: Optional[int] = None
    
    
    class ModelDefaults(BaseModel):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/policy/v1/generated.proto

      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // Specification of the desired behavior of the PodDisruptionBudget.
      // +optional
      optional PodDisruptionBudgetSpec spec = 2;
    
      // Most recently observed status of the PodDisruptionBudget.
      // +optional
      optional PodDisruptionBudgetStatus status = 3;
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. apache-maven/src/assembly/maven/bin/mvnDebug.cmd

    @REM
    @REM   JAVA_HOME           (Optional) Points to a Java installation.
    @REM   MAVEN_BATCH_ECHO    (Optional) Set to 'on' to enable the echoing of the batch commands.
    @REM   MAVEN_BATCH_PAUSE   (Optional) set to 'on' to wait for a key stroke before ending.
    @REM   MAVEN_OPTS          (Optional) Java runtime options used when Maven is executed.
    @REM   MAVEN_SKIP_RC       (Optional) Flag to disable loading of mavenrc files.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 18 11:01:21 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. internal/config/help.go

    			Description: `name for the site e.g. "cal-rack0"`,
    			Optional:    true,
    		},
    		HelpKV{
    			Key:         RegionKey,
    			Type:        "string",
    			Description: `name of the location of the server e.g. "us-west-1"`,
    			Optional:    true,
    		},
    		HelpKV{
    			Key:         Comment,
    			Type:        "sentence",
    			Description: DefaultComment,
    			Optional:    true,
    		},
    	}
    
    	RegionHelp = HelpKVS{
    		HelpKV{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 23 14:45:27 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. fastapi/security/open_id_connect_url.py

                ),
            ],
            scheme_name: Annotated[
                Optional[str],
                Doc(
                    """
                    Security scheme name.
    
                    It will be included in the generated OpenAPI (e.g. visible at `/docs`).
                    """
                ),
            ] = None,
            description: Annotated[
                Optional[str],
                Doc(
                    """
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/certificates/v1alpha1/generated.proto

      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // spec contains the signer (if any) and trust anchors.
      optional ClusterTrustBundleSpec spec = 2;
    }
    
    // ClusterTrustBundleList is a collection of ClusterTrustBundle objects
    message ClusterTrustBundleList {
      // metadata contains the list metadata.
      //
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/admissionregistration/v1/generated.proto

      // APIGroups, APIVersions, Resources, etc.
      optional Rule rule = 2;
    }
    
    // ServiceReference holds a reference to Service.legacy.k8s.io
    message ServiceReference {
      // `namespace` is the namespace of the service.
      // Required
      optional string namespace = 1;
    
      // `name` is the name of the service.
      // Required
      optional string name = 2;
    
      // `path` is an optional URL path which will be sent in any request to
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/BuildModelSourceTransformer.java

                pomPath = context.locate(pomPath);
            }
    
            if (pomPath == null || !Files.isRegularFile(pomPath)) {
                return Optional.empty();
            }
    
            Optional<RelativeProject> mappedProject = Optional.ofNullable(context.getRawModel(pomFile, pomPath.normalize()))
                    .map(BuildModelSourceTransformer::toRelativeProject);
    
            if (mappedProject.isPresent()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      //
      // Defaults to "Equivalent"
      // +optional
      optional string matchPolicy = 7;
    }
    
    // NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
    // +structType=atomic
    message NamedRuleWithOperations {
      // ResourceNames is an optional white list of names that the rule applies to.  An empty set means that everything is allowed.
      // +listType=atomic
      // +optional
      repeated string resourceNames = 1;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  10. apache-maven/src/assembly/maven/bin/mvnenc.cmd

    @REM
    @REM   JAVA_HOME           (Optional) Points to a Java installation.
    @REM   MAVEN_BATCH_ECHO    (Optional) Set to 'on' to enable the echoing of the batch commands.
    @REM   MAVEN_BATCH_PAUSE   (Optional) set to 'on' to wait for a key stroke before ending.
    @REM   MAVEN_OPTS          (Optional) Java runtime options used when Maven is executed.
    @REM   MAVEN_SKIP_RC       (Optional) Flag to disable loading of mavenrc files.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 18 11:01:21 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top