- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for failed (0.18 sec)
-
ci/official/wheel_test/test_import_api_packages.py
except ImportError: logging.exception("error importing %s", short_package_name) failed_packages.append(package_name) if failed_packages: self.fail( "Failed to import" f" {len(failed_packages)}/{len(self.api_packages_v2)} packages" f" {version}:\n{failed_packages}" ) logging.info("Import of packages was successful.") if __name__ == "__main__":
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Sep 13 15:52:07 GMT 2023 - 3.3K bytes - Viewed (0) -
ci/official/utilities/extract_resultstore_links.py
FAILED_BUILD_LINE = 'FAILED: Build did NOT complete successfully' BUILD_STATUS_LINE = 'INFO: Build' TESTS_FAILED_RE = re.compile(r'^INFO: Build completed, \d+ tests? FAILED') BAZEL_COMMAND_RE = re.compile( r'(^| )(?P<command>bazel (.*? )?(?P<type>test|build) .+)') class InvokeStatus: tests_failed = 'tests_failed' build_failed = 'build_failed' passed = 'passed'
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Nov 08 17:50:27 GMT 2023 - 10.9K bytes - Viewed (0) -
docs/sts/client_grants/__init__.py
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 ca_certs = os.environ.get('SSL_CERT_FILE') if not ca_certs: ca_certs = certifi.where() self._http = urllib3.PoolManager( timeout=urllib3.Timeout.DEFAULT_TIMEOUT, maxsize=10,
Python - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 4.6K bytes - Viewed (1) -
fastapi/openapi/docs.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 10.1K bytes - Viewed (0) -
fastapi/encoders.py
This is useful when we use ConstrainedDecimal to represent Numeric(x,0) where a integer (but not int typed) is used. Encoding this as a float results in failed round-tripping between encode and parse. Our Id type is a prime example of this. >>> decimal_encoder(Decimal("1.0")) 1.0 >>> decimal_encoder(Decimal("1")) 1 """
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 21:56:59 GMT 2024 - 10.8K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py
p.text = runfiles_matcher.sub("[testroot]/", p.text) source_file = p.getparent().getparent().get("source_file", "") p.text += f"\nNOTE: From {source_file}" if "bazel_pip" in source_file: p.text += ( "\nNOTE: This is a --config=pip test. Remove 'bazel_pip' to find" " the file." ) n_failures = seen[key] p.text += f"\nNOTE: Number of failures for this test: {seen[key]}."
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 18 19:00:37 GMT 2023 - 4.8K bytes - Viewed (0) -
docs_src/path_operation_advanced_configuration/tutorial002.py
return [{"item_id": "Foo"}] def use_route_names_as_operation_ids(app: FastAPI) -> None: """ Simplify operation IDs so that generated API clients have simpler function names. Should be called only after all routes have been added. """ for route in app.routes: if isinstance(route, APIRoute): route.operation_id = route.name # in this case, 'read_items'
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Mar 26 19:09:53 GMT 2020 - 572 bytes - Viewed (0) -
fastapi/applications.py
def openapi(self) -> Dict[str, Any]: """ Generate the OpenAPI schema of the application. This is called by FastAPI internally. The first time it is called it stores the result in the attribute `app.openapi_schema`, and next times it is called, it just returns that same result. To avoid the cost of generating the schema every time.
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 172.2K bytes - Viewed (0) -
fastapi/background.py
from fastapi import BackgroundTasks, FastAPI app = FastAPI() def write_notification(email: str, message=""): with open("log.txt", mode="w") as email_file: content = f"notification for {email}: {message}" email_file.write(content) @app.post("/send-notification/{email}") async def send_notification(email: str, background_tasks: BackgroundTasks):
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 1.7K bytes - Viewed (0) -
fastapi/_compat.py
field.field_info.annotation ) and not isinstance(field.field_info, params.Body) def is_sequence_field(field: ModelField) -> bool: return field_annotation_is_sequence(field.field_info.annotation) def is_scalar_sequence_field(field: ModelField) -> bool: return field_annotation_is_scalar_sequence(field.field_info.annotation)
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 22.6K bytes - Viewed (0)