Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1291 - 1300 of 2,994 for FALSE (0.02 sec)

  1. docs_src/query_params_str_validations/tutorial014_an.py

    from fastapi import FastAPI, Query
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        hidden_query: Annotated[Union[str, None], Query(include_in_schema=False)] = None,
    ):
        if hidden_query:
            return {"hidden_query": hidden_query}
        else:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 373 bytes
    - Viewed (0)
  2. internal/ioutil/ioutil.go

    }
    
    // SameFile returns if the files are same.
    func SameFile(fi1, fi2 os.FileInfo) bool {
    	if !os.SameFile(fi1, fi2) {
    		return false
    	}
    	if !fi1.ModTime().Equal(fi2.ModTime()) {
    		return false
    	}
    	if fi1.Mode() != fi2.Mode() {
    		return false
    	}
    	return fi1.Size() == fi2.Size()
    }
    
    // DirectioAlignSize - DirectIO alignment needs to be 4K. Defined here as
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

            for (int i = 0; i < 10; i++) {
              for (int j = i + 1; j < 10; j++) {
                for (boolean fromInclusive : ImmutableList.of(true, false)) {
                  for (boolean toInclusive : ImmutableList.of(true, false)) {
                    NavigableSet<Integer> filterSubset =
                        filter(
                            createUnfiltered(contents).subSet(i, fromInclusive, j, toInclusive), EVEN);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. .asf.yaml

      homepage: https://maven.apache.org/ref/current
      labels:
        - java
        - build-management
        - apache-maven
        - maven
        - hacktoberfest
      enabled_merge_buttons:
        squash: true
        merge: false
        rebase: true
      autolink_jira:
        - MNG
    notifications:
      commits: ******@****.***
      issues: ******@****.***
      pullrequests: ******@****.***
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Aug 30 22:33:15 UTC 2024
    - 477 bytes
    - Viewed (0)
  5. docs_src/separate_openapi_schemas/tutorial002_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
    
    
    app = FastAPI(separate_input_output_schemas=False)
    
    
    @app.post("/items/")
    def create_item(item: Item):
        return item
    
    
    @app.get("/items/")
    def read_items() -> list[Item]:
        return [
            Item(
                name="Portal Gun",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 25 19:10:22 UTC 2023
    - 486 bytes
    - Viewed (0)
  6. docs_src/query_params/tutorial004_py310.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/users/{user_id}/items/{item_id}")
    async def read_user_item(
        user_id: int, item_id: str, q: str | None = None, short: bool = False
    ):
        item = {"item_id": item_id, "owner_id": user_id}
        if q:
            item.update({"q": q})
        if not short:
            item.update(
                {"description": "This is an amazing item that has a long description"}
            )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 436 bytes
    - Viewed (0)
  7. docs_src/response_model/tutorial003_05_py310.py

    from fastapi import FastAPI, Response
    from fastapi.responses import RedirectResponse
    
    app = FastAPI()
    
    
    @app.get("/portal", response_model=None)
    async def get_portal(teleport: bool = False) -> Response | dict:
        if teleport:
            return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Jan 10 16:22:47 UTC 2023
    - 373 bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

            if (children != null) {
                for (ResolutionNode node : children) {
                    node.enable();
                }
            }
        }
    
        public void disable() {
            active = false;
            if (children != null) {
                for (ResolutionNode node : children) {
                    node.disable();
                }
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_cluster_test.cc

      TFE_DeleteContext(ctx);
    
      // TODO(b/136478427): Figure out how to correctly shut the server down.
      worker_server.release();
    }
    
    TEST(CAPI, RemoteExecuteChangeServerDef) {
      TestRemoteExecuteChangeServerDef(false);
    }
    TEST(CAPI, RemoteExecuteChangeServerDefAsync) {
      TestRemoteExecuteChangeServerDef(true);
    }
    
    void TestRemoteExecuteUpdateServerDef(bool async) {
      tensorflow::ServerDef server_def = GetServerDef(2);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  10. ci/official/utilities/code_check_full.bats

      bazel cquery \
        --experimental_cc_shared_library \
        --@local_config_cuda//:enable_cuda \
        --@local_config_cuda//cuda:include_cuda_libs=false \
        --repo_env=HERMETIC_CUDA_VERSION="12.3.2" \
        --repo_env=HERMETIC_CUDNN_VERSION="8.9.7.29" \
        --define framework_shared_object=false \
        "somepath(//tensorflow/tools/pip_package:wheel, " \
        "@local_config_cuda//cuda:cudart + "\
        "@local_config_cuda//cuda:cudart + "\
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 23 18:48:35 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top