Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for get_secret_value (0.18 sec)

  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:
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Jan 09 15:02:53 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. .github/actions/notify-translations/app/main.py

        discussion_id: Union[str, None] = None,
        comment_id: Union[str, None] = None,
        body: Union[str, None] = None,
    ) -> Dict[str, Any]:
        headers = {"Authorization": f"token {settings.input_token.get_secret_value()}"}
        # some fields are only used by one query, but GraphQL allows unused variables, so
        # keep them here for simplicity
        variables = {
            "after": after,
            "category_id": category_id,
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Wed Sep 27 23:01:46 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  3. .github/actions/people/app/main.py

        *,
        settings: Settings,
        query: str,
        after: Union[str, None] = None,
        category_id: Union[str, None] = None,
    ) -> Dict[str, Any]:
        headers = {"Authorization": f"token {settings.input_token.get_secret_value()}"}
        # category_id is only used by one query, but GraphQL allows unused variables, so
        # keep it here for simplicity
        variables = {"after": after, "category_id": category_id}
        response = httpx.post(
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 17:38:21 GMT 2024
    - 19.2K bytes
    - Viewed (1)
Back to top