- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for logging (0.19 sec)
-
.github/actions/notify-translations/app/main.py
return response.data.updateDiscussionComment.comment if __name__ == "__main__": settings = Settings() if settings.input_debug: logging.basicConfig(level=logging.DEBUG) else: logging.basicConfig(level=logging.INFO) logging.debug(f"Using config: {settings.json()}") g = Github(settings.input_token.get_secret_value()) repo = g.get_repo(settings.github_repository)
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Sep 27 23:01:46 GMT 2023 - 12.4K bytes - Viewed (0) -
.github/actions/people/app/main.py
maintainers_logins = {"tiangolo"} bot_names = {"codecov", "github-actions", "pre-commit-ci", "dependabot"} maintainers = [] for login in maintainers_logins: user = authors[login] maintainers.append( { "login": login, "answers": experts_results.commenters[login],
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Mar 26 17:38:21 GMT 2024 - 19.2K bytes - Viewed (1) -
scripts/docs.py
from jinja2 import Template logging.basicConfig(level=logging.INFO) app = typer.Typer() mkdocs_name = "mkdocs.yml" missing_translation_snippet = """ {!../../../docs/missing-translation.md!} """ docs_path = Path("docs") en_docs_path = Path("docs/en") en_config_path: Path = en_docs_path / mkdocs_name site_path = Path("site").absolute() build_site_path = Path("site_build").absolute() @lru_cache
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Mon Jan 22 19:26:14 GMT 2024 - 10.9K bytes - Viewed (1) -
.github/actions/comment-docs-preview-in-pr/app/main.py
if __name__ == "__main__": logging.basicConfig(level=logging.INFO) settings = Settings() logging.info(f"Using config: {settings.json()}") g = Github(settings.input_token.get_secret_value()) repo = g.get_repo(settings.github_repository) try: event = PartialGithubEvent.parse_file(settings.github_event_path) except ValidationError as e: logging.error(f"Error parsing event file: {e.errors()}")
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Jan 09 15:02:53 GMT 2024 - 2.1K bytes - Viewed (0) -
fastapi/logger.py
import logging
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Mon Dec 09 19:02:44 GMT 2019 - 54 bytes - Viewed (0) -
ci/official/wheel_test/test_import_api_packages.py
TensorFlow API v2 init files and is stored in the wheel file after the build. See README.md file for "how to run" instruction. """ import logging import unittest import pkg_resources logging.basicConfig(level=logging.INFO) class ImportApiPackagesTest(unittest.TestCase): """ImportApiPackagesTest class. See description at the top of the file.""" def setUp(self):
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) -
docs/sts/client-grants.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import logging import boto3 from boto3.session import Session from botocore.session import get_session from client_grants import ClientGrantsCredentialProvider boto3.set_stream_logger('boto3.resources', logging.DEBUG) bc_session = get_session() bc_session.get_component('credential_provider').insert_before( 'env', ClientGrantsCredentialProvider('NZLOOFRSluw9RfIkuHGqfk1HFp4a',
Python - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 1.2K bytes - Viewed (0) -
docs/sts/web-identity.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json import logging import urllib from uuid import uuid4 import boto3 import requests from botocore.client import Config from flask import Flask, request boto3.set_stream_logger('boto3.resources', logging.DEBUG) authorize_url = "http://localhost:8080/auth/realms/minio/protocol/openid-connect/auth" token_url = "http://localhost:8080/auth/realms/minio/protocol/openid-connect/token"
Python - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Jul 28 01:37:51 GMT 2021 - 2.9K bytes - Viewed (1) -
tensorflow/api_template_v1.__init__.py
from tensorflow.python.platform import tf_logging as _logging from tensorflow.python.util.lazy_loader import LazyLoader as _LazyLoader from tensorflow.python.util.lazy_loader import KerasLazyLoader as _KerasLazyLoader # API IMPORTS PLACEHOLDER # WRAPPER_PLACEHOLDER if "dev" in __version__: # pylint: disable=undefined-variable _logging.warning("""
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jan 23 02:14:00 GMT 2024 - 7.4K bytes - Viewed (0) -
ci/official/utilities/extract_resultstore_links.py
f'Bazel invocations.\n' f'ResultStore contains individual representations of each target ' f'that were run/built during the invocation.\n' f'These results are generally easier to read than looking through ' f'the entire build log:\n') i = 1 for url, invocation_results in result_store_dict.items(): line_str = f'Invocation #{i} ({invocation_results["status"]}):\n'
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)