- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 609 for self (0.1 sec)
-
docs_src/dependencies/tutorial003_py310.py
app = FastAPI() fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}] class CommonQueryParams: def __init__(self, q: 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=Depends(CommonQueryParams)): response = {} if commons.q:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 603 bytes - Viewed (0) -
manifests/addons/dashboards/lib/queries.libsonnet
xdsPushes: self.query( '{{type}}', sum(irate('pilot_xds_pushes'), by=['type']) ), xdsErrors: [ self.query( 'Rejected Config ({{type}})', sum('pilot_total_xds_rejects', by=['type']) ), self.query( 'Internal Errors', 'pilot_total_xds_internal_errors' ), self.query(
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jul 26 23:54:32 UTC 2024 - 10.3K bytes - Viewed (0) -
docs/sts/client_grants/__init__.py
CANONICAL_NAME = 'AssumeRoleClientGrants' def __init__(self, cid, csec, idp_ep='http://localhost:8080/auth/realms/minio/protocol/openid-connect/token', sts_ep='http://localhost:9000'): self.cid = cid self.csec = csec self.idp_ep = idp_ep self.sts_ep = sts_ep # Load CA certificates from SSL_CERT_FILE file if set
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 4.6K bytes - Viewed (0) -
fastapi/params.py
class Depends: def __init__( self, dependency: Optional[Callable[..., Any]] = None, *, use_cache: bool = True ): self.dependency = dependency self.use_cache = use_cache def __repr__(self) -> str: attr = getattr(self.dependency, "__name__", type(self.dependency).__name__) cache = "" if self.use_cache else ", use_cache=False" return f"{self.__class__.__name__}({attr}{cache})"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 06 18:06:20 UTC 2024 - 27.5K bytes - Viewed (0) -
docs/sts/client_grants/sts_element.py
) def findall(self, name): """Similar to ElementTree.Element.findall() """ return [ STSElement(self.root_name, elem) for elem in self.element.findall('sts:{}'.format(name), _STS_NS) ] def find(self, name): """Similar to ElementTree.Element.find() """ elt = self.element.find('sts:{}'.format(name), _STS_NS)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 2.5K bytes - Viewed (0) -
fastapi/security/http.py
""" ), ] = True, ): self.model = HTTPBaseModel(scheme="basic", description=description) self.scheme_name = scheme_name or self.__class__.__name__ self.realm = realm self.auto_error = auto_error async def __call__( # type: ignore self, request: Request ) -> Optional[HTTPBasicCredentials]:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Sep 19 09:47:28 UTC 2024 - 13.2K bytes - Viewed (0) -
fastapi/routing.py
self.path_regex, self.path_format, self.param_convertors = compile_path(path) self.dependant = get_dependant(path=self.path_format, call=self.endpoint) for depends in self.dependencies[::-1]: self.dependant.dependencies.insert( 0, get_parameterless_sub_dependant(depends=depends, path=self.path_format), )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:44:57 UTC 2024 - 172.1K bytes - Viewed (0) -
fastapi/applications.py
), ], ) -> None: self.debug = debug self.title = title self.summary = summary self.description = description self.version = version self.terms_of_service = terms_of_service self.contact = contact self.license_info = license_info self.openapi_url = openapi_url self.openapi_tags = openapi_tags
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 17 04:52:31 UTC 2024 - 172.2K bytes - Viewed (0) -
manifests/addons/dashboards/lib/variables.libsonnet
namespace: var.query.new('namespace') + var.query.withDatasourceFromVariable(self.datasource) + var.query.queryTypes.withLabelValues( 'namespace', 'process_cpu_seconds_total{cluster=~"$%s"}' % self.cluster.name, ) + var.query.withRefresh('time'), job: var.query.new('job') + var.query.withDatasourceFromVariable(self.datasource) + var.query.queryTypes.withLabelValues( 'job',
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 1.4K bytes - Viewed (0) -
fastapi/security/oauth2.py
auth. """ ), ] = None, ): self.grant_type = grant_type self.username = username self.password = password self.scopes = scope.split() self.client_id = client_id self.client_secret = client_secret class OAuth2PasswordRequestFormStrict(OAuth2PasswordRequestForm): """
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 23 18:30:18 UTC 2024 - 21.1K bytes - Viewed (0)