Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 855 for SELF (0.74 sec)

  1. docs_src/dependencies/tutorial002_an_py39.py

    app = FastAPI()
    
    
    fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}]
    
    
    class CommonQueryParams:
        def __init__(self, q: Union[str, None] = None, skip: int = 0, limit: int = 100):
            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]):
        response = {}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 677 bytes
    - Viewed (0)
  2. docs_src/dependencies/tutorial003_an_py39.py

    app = FastAPI()
    
    
    fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}]
    
    
    class CommonQueryParams:
        def __init__(self, q: Union[str, None] = None, skip: int = 0, limit: int = 100):
            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[Any, Depends(CommonQueryParams)]):
        response = {}
        if commons.q:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 668 bytes
    - Viewed (0)
  3. docs_src/python_types/tutorial010.py

    class Person:
        def __init__(self, name: str):
            self.name = name
    
    
    def get_person_name(one_person: Person):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 12 21:44:23 UTC 2020
    - 144 bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/modifiers/renderers/KtKeywordsFilter.kt

            val self = this
            return KaRendererKeywordFilter filter@{ modifier, kaAnnotated ->
                val analysisSession = this@filter
                self.filter(analysisSession, modifier, kaAnnotated) && other.filter(analysisSession, modifier, kaAnnotated)
            }
        }
    
        public infix fun or(other: KaRendererKeywordFilter): KaRendererKeywordFilter {
            val self = this
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. fastapi/datastructures.py

        if the overridden default value was truthy.
        """
    
        def __init__(self, value: Any):
            self.value = value
    
        def __bool__(self) -> bool:
            return bool(self.value)
    
        def __eq__(self, o: object) -> bool:
            return isinstance(o, DefaultPlaceholder) and o.value == self.value
    
    
    DefaultType = TypeVar("DefaultType")
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 5.6K bytes
    - Viewed (1)
  6. pkg/apis/core/fuzzer/fuzzer.go

    			c.FuzzNoCustom(cm) // fuzz self without calling this function again
    			if c.RandBool() {
    				opt := c.RandBool()
    				cm.Optional = &opt
    			}
    		},
    		func(s *core.SecretEnvSource, c fuzz.Continue) {
    			c.FuzzNoCustom(s) // fuzz self without calling this function again
    		},
    		func(sc *core.SecurityContext, c fuzz.Continue) {
    			c.FuzzNoCustom(sc) // fuzz self without calling this function again
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 04:32:01 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset.py

            validate that the sample has same set of input keys before saving.
    
        Raises:
          KeyError: If path_map and expected_input_key_map have different keys.
        """
        self.path_map: Mapping[str, os.PathLike[str]] = path_map
        self.expected_input_key_map: Mapping[str, Collection[str]] = {}
        if expected_input_key_map is not None:
          if set(path_map.keys()) != set(expected_input_key_map.keys()):
            raise KeyError(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. manifests/charts/base/crds/crd-all.gen.yaml

                    - message: url must have schema one of [http, https, file, oci]
                      rule: 'isURL(self) ? (url(self).getScheme() in ['''', ''http'',
                        ''https'', ''oci'', ''file'']) : (isURL(''http://'' + self) &&
                        url(''http://'' +self).getScheme() in ['''', ''http'', ''https'',
                        ''oci'', ''file''])'
                  verificationKey:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:42 UTC 2024
    - 671.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/types_jsonschema.go

    	// are accessible via `self[mapKey]`, map containment can be checked via `mapKey in self` and all entries of the map
    	// are accessible via CEL macros and functions such as `self.all(...)`.
    	// If the Rule is scoped to an array, the elements of the array are accessible via `self[i]` and also by macros and
    	// functions.
    	// If the Rule is scoped to a scalar, `self` is bound to the scalar value.
    	// Examples:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 22:23:23 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  10. pkg/apis/admissionregistration/fuzzer/fuzzer.go

    		func(obj *admissionregistration.Rule, c fuzz.Continue) {
    			c.FuzzNoCustom(obj) // fuzz self without calling this function again
    			if obj.Scope == nil {
    				s := admissionregistration.AllScopes
    				obj.Scope = &s
    			}
    		},
    		func(obj *admissionregistration.ValidatingWebhook, c fuzz.Continue) {
    			c.FuzzNoCustom(obj) // fuzz self without calling this function again
    			if obj.FailurePolicy == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:09 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top