Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for failed (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top