Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1261 - 1270 of 2,994 for FALSE (0.04 sec)

  1. docs_src/header_params/tutorial002_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import FastAPI, Header
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        strange_header: Annotated[
            Union[str, None], Header(convert_underscores=False)
        ] = None,
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 288 bytes
    - Viewed (0)
  2. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // +kubebuilder:validation:MaxLength=316
      optional string type = 1;
    
      // status of the condition, one of True, False, Unknown.
      // +required
      // +kubebuilder:validation:Required
      // +kubebuilder:validation:Enum=True;False;Unknown
      optional string status = 2;
    
      // observedGeneration represents the .metadata.generation that the condition was set based upon.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  3. docs_src/query_params_str_validations/tutorial014_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        hidden_query: str | None = Query(default=None, include_in_schema=False),
    ):
        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
    - 298 bytes
    - Viewed (0)
  4. docs_src/response_model/tutorial003_02.py

    from fastapi import FastAPI, Response
    from fastapi.responses import JSONResponse, RedirectResponse
    
    app = FastAPI()
    
    
    @app.get("/portal")
    async def get_portal(teleport: bool = False) -> Response:
        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
    - 381 bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

          return true;
        }
        if (suppressedTests.contains(method)) {
          logger.finer(Platform.format("%s: excluding because it was explicitly suppressed.", test));
          return false;
        }
        TesterRequirements requirements;
        try {
          requirements = FeatureUtil.getTesterRequirements(method);
        } catch (ConflictingRequirementsException e) {
          throw new RuntimeException(e);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

                return getId();
            }
    
            public boolean isUniqueVersion() {
                return true;
            }
    
            public boolean isBlacklisted() {
                return false;
            }
    
            public void setBlacklisted(boolean blackListed) {}
    
            public org.apache.maven.artifact.Artifact find(org.apache.maven.artifact.Artifact artifact) {
                return null;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. fastapi/encoders.py

                """
            ),
        ] = False,
        exclude_none: Annotated[
            bool,
            Doc(
                """
                Pydantic's `exclude_none` parameter, passed to Pydantic models to define
                if it should exclude from the output any fields that have a `None` value.
                """
            ),
        ] = False,
        custom_encoder: Annotated[
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. internal/mountinfo/mountinfo_linux_test.go

    		return false
    	}
    	return true
    }
    
    // Checks if two string slices are equal.
    func slicesEqual(a, b []string) bool {
    	if len(a) != len(b) {
    		return false
    	}
    	for i := range a {
    		if a[i] != b[i] {
    			return false
    		}
    	}
    	return true
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. internal/event/target/redis.go

    	if err := target.init(); err != nil {
    		return false, err
    	}
    	return target.isActive()
    }
    
    func (target *RedisTarget) isActive() (bool, error) {
    	conn := target.pool.Get()
    	defer conn.Close()
    
    	_, pingErr := conn.Do("PING")
    	if pingErr != nil {
    		if xnet.IsConnRefusedErr(pingErr) {
    			return false, store.ErrNotConnected
    		}
    		return false, pingErr
    	}
    	return true, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. istioctl/pkg/workload/testdata/vmconfig/ipv4/meshconfig.yaml

    defaultConfig:
      proxyMetadata:
        # should be overridden by the command
        ISTIO_META_DNS_CAPTURE: "false"
        # should be overridden by the annotation on the WorkloadGroup
        PROXY_CONFIG_ANNOT_VALUE: "foo"
        # should be in the final cluster.env/mesh.yaml
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 300 bytes
    - Viewed (0)
Back to top