Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1771 - 1780 of 3,875 for False (0.03 seconds)

  1. fastapi/security/http.py

                    header), `HTTPBasic` will automatically cancel the request and send the
                    client an error.
    
                    If `auto_error` is set to `False`, when the HTTP Basic authentication
                    is not available, instead of erroring out, the dependency result will
                    be `None`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 16 10:16:48 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.reproducible-archives.gradle.kts

     * limitations under the License.
     */
    
    // Ensure the archives produced are reproducible
    tasks.withType<AbstractArchiveTask>().configureEach {
        isPreserveFileTimestamps = false
        isReproducibleFileOrder = true
        dirPermissions { unix("0755") }
        filePermissions { unix("0644") }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 06 15:37:11 GMT 2024
    - 867 bytes
    - Click Count (0)
  3. .ci/jobs.t/elastic+elasticsearch+multijob+packaging-tests-upgrade.yml

        description: "Testing of the Elasticsearch %BRANCH% branch packaging test upgrade support matrix.\n"
        project-type: matrix
        node: master
        scm:
          - git:
              wipe-workspace: false
        axes:
          - axis:
              type: label-expression
              name: os
              values:
                - centos-8-packaging
                - ubuntu-20.04-packaging
          - axis:
              type: yaml
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue May 25 23:43:40 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  4. tests/test_security_http_bearer_optional.py

    from fastapi.security import HTTPAuthorizationCredentials, HTTPBearer
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    security = HTTPBearer(auto_error=False)
    
    
    @app.get("/users/me")
    def read_current_user(
        credentials: HTTPAuthorizationCredentials | None = Security(security),
    ):
        if credentials is None:
            return {"msg": "Create an account first"}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  5. tests/test_security_oauth2_password_bearer_optional.py

    from fastapi.security import OAuth2PasswordBearer
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="/token", auto_error=False)
    
    
    @app.get("/items/")
    async def read_items(token: str | None = Security(oauth2_scheme)):
        if token is None:
            return {"msg": "Create an account first"}
        return {"token": token}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java

                throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToUpdateCrudTable(GLOBAL, buildThrowableMessage(e)));
            }
            return asJson(new ApiResult.ApiUpdateResponse().id(entity.getId()).created(false).status(ApiResult.Status.OK).result());
        }
    
        /**
         * Deletes a role setting by ID.
         *
         * @param id the ID of the role setting to delete
         * @return JSON response indicating success or failure
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/StandardMutableValueGraph.java

        return incidentEdgeOrder;
      }
    
      @Override
      @CanIgnoreReturnValue
      public boolean addNode(N node) {
        checkNotNull(node, "node");
    
        if (containsNode(node)) {
          return false;
        }
    
        addNodeInternal(node);
        return true;
      }
    
      /**
       * Adds {@code node} to the graph and returns the associated {@link GraphConnections}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.3K bytes
    - Click Count (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-dsl-upstream-candidates.kt

    }
    
    
    fun ExecOperations.execAndGetStdoutIgnoringError(vararg args: String) = execAndGetStdout(File("."), true, *args)
    
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon May 19 11:33:57 GMT 2025
    - 965 bytes
    - Click Count (0)
  9. test_docs.sh

    # Install the packages with the following command:
    # pip install mkdocs mkdocs-material mkdocs-redirects
    
    set -ex
    
    # Test generating the javadoc jars
    ./gradlew publishToMavenLocal -DRELEASE_SIGNING_ENABLED=false -PokhttpDokka=true
    
    # Generate the API docs
    ./gradlew dokkaGeneratePublicationHtml -PokhttpDokka=true
    
    mv ./build/dokka/html docs/5.x
    
    # Copy in special files that GitHub wants in the project root.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 753 bytes
    - Click Count (1)
  10. scripts/playwright/separate_openapi_schemas/image01.py

    
    # Run playwright codegen to generate the code below, copy paste the sections in run()
    def run(playwright: Playwright) -> None:
        browser = playwright.chromium.launch(headless=False)
        # Update the viewport manually
        context = browser.new_context(viewport={"width": 960, "height": 1080})
        page = context.new_page()
        page.goto("http://localhost:8000/docs")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Sep 13 09:14:46 GMT 2024
    - 974 bytes
    - Click Count (0)
Back to Top