Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for basicConfig (0.39 sec)

  1. scripts/label_approved.py

        token: SecretStr
        debug: bool | None = False
        config: dict[str, LabelSettings] | Literal[""] = default_config
    
    
    settings = Settings()
    if settings.debug:
        logging.basicConfig(level=logging.DEBUG)
    else:
        logging.basicConfig(level=logging.INFO)
    logging.debug(f"Using config: {settings.model_dump_json()}")
    g = Github(settings.token.get_secret_value())
    repo = g.get_repo(settings.github_repository)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Jun 17 07:50:19 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. scripts/notify_translations.py

        return response.data.updateDiscussionComment.comment
    
    
    def main() -> None:
        settings = Settings()
        if settings.debug:
            logging.basicConfig(level=logging.DEBUG)
        else:
            logging.basicConfig(level=logging.INFO)
        logging.debug(f"Using config: {settings.model_dump_json()}")
        g = Github(settings.github_token.get_secret_value())
        repo = g.get_repo(settings.github_repository)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. scripts/deploy_docs_status.py

        state: Literal["pending", "success", "error"] = "pending"
    
    
    class LinkData(BaseModel):
        previous_link: str
        preview_link: str
        en_link: str | None = None
    
    
    def main() -> None:
        logging.basicConfig(level=logging.INFO)
        settings = Settings()
    
        logging.info(f"Using config: {settings.model_dump_json()}")
        g = Github(auth=Auth.Token(settings.github_token.get_secret_value()))
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 05:56:53 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. scripts/topic_repos.py

        github_token: SecretStr
    
    
    class Repo(BaseModel):
        name: str
        html_url: str
        stars: int
        owner_login: str
        owner_html_url: str
    
    
    def main() -> None:
        logging.basicConfig(level=logging.INFO)
        settings = Settings()
    
        logging.info(f"Using config: {settings.model_dump_json()}")
        g = Github(settings.github_token.get_secret_value(), per_page=100)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. scripts/sponsors.py

            return False
        content_path.write_text(new_content, encoding="utf-8")
        logging.info(f"Updated {content_path}")
        return True
    
    
    def main() -> None:
        logging.basicConfig(level=logging.INFO)
        settings = Settings()
        logging.info(f"Using config: {settings.model_dump_json()}")
        g = Github(settings.pr_token.get_secret_value())
        repo = g.get_repo(settings.github_repository)
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. scripts/contributors.py

            return False
        content_path.write_text(new_content, encoding="utf-8")
        logging.info(f"Updated {content_path}")
        return True
    
    
    def main() -> None:
        logging.basicConfig(level=logging.INFO)
        settings = Settings()
        logging.info(f"Using config: {settings.model_dump_json()}")
        g = Github(settings.github_token.get_secret_value())
        repo = g.get_repo(settings.github_repository)
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. scripts/people.py

            return False
        content_path.write_text(new_content, encoding="utf-8")
        logging.info(f"Updated {content_path}")
        return True
    
    
    def main() -> None:
        logging.basicConfig(level=logging.INFO)
        settings = Settings()
        logging.info(f"Using config: {settings.model_dump_json()}")
        g = Github(settings.github_token.get_secret_value())
        repo = g.get_repo(settings.github_repository)
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. scripts/docs.py

    from typing import Any, Optional, Union
    
    import mkdocs.utils
    import typer
    import yaml
    from jinja2 import Template
    from ruff.__main__ import find_ruff_bin
    from slugify import slugify as py_slugify
    
    logging.basicConfig(level=logging.INFO)
    
    SUPPORTED_LANGS = {
        "en",
        "de",
        "es",
        "pt",
        "ru",
    }
    
    
    app = typer.Typer()
    
    mkdocs_name = "mkdocs.yml"
    
    missing_translation_snippet = """
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  9. fastapi/_compat/__init__.py

    )
    from .shared import lenient_issubclass as lenient_issubclass
    from .shared import sequence_types as sequence_types
    from .shared import value_is_sequence as value_is_sequence
    from .v2 import BaseConfig as BaseConfig
    from .v2 import ModelField as ModelField
    from .v2 import PydanticSchemaGenerationError as PydanticSchemaGenerationError
    from .v2 import RequiredParam as RequiredParam
    from .v2 import Undefined as Undefined
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. fastapi/utils.py

    from collections.abc import MutableMapping
    from typing import (
        TYPE_CHECKING,
        Any,
        Optional,
        Union,
    )
    from weakref import WeakKeyDictionary
    
    import fastapi
    from fastapi._compat import (
        BaseConfig,
        ModelField,
        PydanticSchemaGenerationError,
        Undefined,
        UndefinedType,
        Validator,
        annotation_is_pydantic_v1,
    )
    from fastapi.datastructures import DefaultPlaceholder, DefaultType
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top