- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for failed (0.17 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) -
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) -
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) -
fastapi/routing.py
# By being a new field, no inheritance will be passed as is. A new model # will always be created. # TODO: remove when deprecating Pydantic v1 self.secure_cloned_response_field: Optional[ ModelField ] = create_cloned_field(self.response_field) else: self.response_field = None # type: ignore
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 170.1K bytes - Viewed (0) -
fastapi/param_functions.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 62.5K bytes - Viewed (0)