- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for rule (0.16 sec)
-
scripts/playwright/separate_openapi_schemas/image03.py
page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_text("GET/items/Read Items").click() page.get_by_role("tab", name="Schema").click() page.get_by_label("Schema").get_by_role("button", name="Expand all").click() page.screenshot( path="docs/en/docs/img/tutorial/separate-openapi-schemas/image03.png" ) # ---------------------
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Aug 25 19:10:22 GMT 2023 - 892 bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py
""" import collections import os import re import subprocess import sys from junitparser import JUnitXml result = JUnitXml() try: files = subprocess.check_output( ["grep", "-rlE", '(failures|errors)="[1-9]', sys.argv[1]] ) except subprocess.CalledProcessError as e: print("No failures found to log!") exit(0) # For test cases, only show the ones that failed that have text (a log)
Python - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Sep 18 19:00:37 GMT 2023 - 4.8K bytes - Viewed (0) -
scripts/playwright/separate_openapi_schemas/image02.py
page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_text("GET/items/Read Items").click() page.get_by_role("button", name="Try it out").click() page.get_by_role("button", name="Execute").click() page.screenshot( path="docs/en/docs/img/tutorial/separate-openapi-schemas/image02.png" ) # --------------------- context.close()
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Aug 25 19:10:22 GMT 2023 - 873 bytes - Viewed (0) -
docs/sts/client_grants/__init__.py
class ClientGrantsCredentialProvider(CredentialProvider): """ ClientGrantsCredentialProvider implements CredentialProvider compatible implementation to be used with boto_session """ METHOD = 'assume-role-client-grants' CANONICAL_NAME = 'AssumeRoleClientGrants' def __init__(self, cid, csec, idp_ep='http://localhost:8080/auth/realms/minio/protocol/openid-connect/token',
Python - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 4.6K bytes - Viewed (1) -
configure.py
write_action_env_to_bazelrc('CLANG_CUDA_COMPILER_PATH', clang_cuda_compiler_path) return clang_cuda_compiler_path def create_android_ndk_rule(environ_cp): """Set ANDROID_NDK_HOME and write Android NDK WORKSPACE rule.""" if is_windows() or is_cygwin(): default_ndk_path = cygpath('%s/Android/Sdk/ndk-bundle' % environ_cp['APPDATA']) elif is_macos():
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 18:25:36 GMT 2024 - 53.8K bytes - Viewed (1) -
tests/test_jsonable_encoder.py
assert jsonable_encoder(subclass_model) == {"dt_field": "2019-01-01T08:00:00+00:00"} def test_encode_model_with_config(): model = ModelWithConfig(role=RoleEnum.admin) assert jsonable_encoder(model) == {"role": "admin"} def test_encode_model_with_alias_raises(): with pytest.raises(ValidationError): ModelWithAlias(foo="Bar") def test_encode_model_with_alias():
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 21:56:59 GMT 2024 - 9K bytes - Viewed (0) -
scripts/playwright/separate_openapi_schemas/image01.py
context = browser.new_context(viewport={"width": 960, "height": 1080}) page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_text("POST/items/Create Item").click() page.get_by_role("tab", name="Schema").first.click() page.screenshot( path="docs/en/docs/img/tutorial/separate-openapi-schemas/image01.png" ) # --------------------- context.close() browser.close()
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Aug 25 19:10:22 GMT 2023 - 819 bytes - Viewed (0) -
docs/sts/web-identity.py
# we can now use the id_token as much as we want to access protected resources. tokens = json.loads(id_token_response.text) id_token = tokens['id_token'] response = sts_client.assume_role_with_web_identity( RoleArn='arn:aws:iam::123456789012:user/svc-internal-api', RoleSessionName='test', WebIdentityToken=id_token, DurationSeconds=3600 )
Python - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Jul 28 01:37:51 GMT 2021 - 2.9K bytes - Viewed (1) -
scripts/playwright/separate_openapi_schemas/image04.py
context = browser.new_context(viewport={"width": 960, "height": 1080}) page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_role("button", name="Item-Input").click() page.get_by_role("button", name="Item-Output").click() page.set_viewport_size({"width": 960, "height": 820}) page.screenshot( path="docs/en/docs/img/tutorial/separate-openapi-schemas/image04.png"
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Aug 25 19:10:22 GMT 2023 - 881 bytes - Viewed (0) -
fastapi/openapi/models.py
# Serialization rules for simple scenarios style: Optional[str] = None explode: Optional[bool] = None allowReserved: Optional[bool] = None schema_: Optional[Union[Schema, Reference]] = Field(default=None, alias="schema") example: Optional[Any] = None examples: Optional[Dict[str, Union[Example, Reference]]] = None # Serialization rules for more complex scenarios
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 22:49:33 GMT 2024 - 15K bytes - Viewed (1)