Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 928 for opcional (0.18 sec)

  1. tests/test_security_oauth2_password_bearer_optional.py

    from typing import Optional
    
    from fastapi import FastAPI, Security
    from fastapi.security import OAuth2PasswordBearer
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="/token", auto_error=False)
    
    
    @app.get("/items/")
    async def read_items(token: Optional[str] = Security(oauth2_scheme)):
        if token is None:
            return {"msg": "Create an account first"}
        return {"token": token}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

                    throws InvalidVersionSpecificationException {
                ArtifactSpec dep = createArtifactSpec(id, version, scope, artifact.getScope(), optional);
                return addDependency(dep);
            }
    
            public ArtifactSpec addDependency(String id, String version, boolean optional)
                    throws InvalidVersionSpecificationException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  3. cmd/config-current.go

    			Key:         config.SubnetSubSys,
    			Type:        "string",
    			Description: "register Enterprise license for the cluster",
    			Optional:    true,
    		},
    		config.HelpKV{
    			Key:         config.CallhomeSubSys,
    			Type:        "string",
    			Description: "enable callhome to MinIO SUBNET",
    			Optional:    true,
    		},
    		config.HelpKV{
    			Key:         config.DriveSubSys,
    			Description: "enable drive specific settings",
    		},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java

                throws InvalidVersionSpecificationException {
            VersionRange versionRange = VersionRange.createFromVersionSpec(version);
    
            return artifactFactory.createDependencyArtifact(
                    GROUP_ID, id, versionRange, "jar", null, scope, inheritedScope, optional);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. tests/test_openapi_query_parameter_extension.py

    from typing import Optional
    
    from dirty_equals import IsDict
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get(
        "/",
        openapi_extra={
            "parameters": [
                {
                    "required": False,
                    "schema": {"title": "Extra Param 1"},
                    "name": "extra_param_1",
                    "in": "query",
                },
                {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. manifests/charts/base/files/crd-all.gen.yaml

                  metrics:
                    description: Optional.
                    items:
                      properties:
                        overrides:
                          description: Optional.
                          items:
                            properties:
                              disabled:
                                description: Optional.
                                nullable: true
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Nov 01 16:23:52 UTC 2024
    - 805K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainManager.java

            return new MappedList<>(toolchains, this::toToolchain);
        }
    
        @Override
        public Optional<Toolchain> getToolchainFromBuildContext(Session session, String type)
                throws ToolchainManagerException {
            MavenSession s = InternalMavenSession.from(session).getMavenSession();
            return Optional.ofNullable(toolchainManagerPrivate.getToolchainFromBuildContext(type, s))
                    .map(this::toToolchain);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. .github/workflows/scorecard.yml

          - name: "Run analysis"
            uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
            with:
              results_file: results.sarif
              results_format: sarif
              # (Optional) "write" PAT token. Uncomment the `repo_token` line below if:
              # - you want to enable the Branch-Protection check on a *public* repository, or
              # - you are installing Scorecard on a *private* repository
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 29 18:53:45 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/tflite-converter-issue.md

    - Model produces wrong results and/or has lesser accuracy.
    - Model produces correct results, but it is slower than expected.
    
    ### 4. (optional) RNN conversion support
    If converting TF RNN to TFLite fused RNN ops, please prefix [RNN] in the title.
    
    ### 5. (optional) Any other info / logs
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jun 15 03:35:58 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

        }
    
        private static void trimValues(MavenProperties configProps) {
            configProps.replaceAll((k, v) -> v.trim());
        }
    
        private static String nextLocation(StringTokenizer st) {
            boolean optional = false;
            String retVal = null;
    
            if (st.countTokens() > 0) {
                String tokenList = "?\",";
                StringBuilder tokBuf = new StringBuilder(10);
                String tok;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top