Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for update_content (0.08 sec)

  1. scripts/contributors.py

        translation_reviewers_path = Path("./docs/en/data/translation_reviewers.yml")
    
        updated = [
            update_content(content_path=contributors_path, new_content=top_contributors),
            update_content(content_path=translators_path, new_content=top_translators),
            update_content(
                content_path=translation_reviewers_path,
                new_content=top_translations_reviewers,
            ),
        ]
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. scripts/sponsors.py

        for node in nodes:
            tiers[node.tier.monthlyPriceInDollars][node.sponsorEntity.login] = (
                node.sponsorEntity
            )
        return tiers
    
    
    def update_content(*, content_path: Path, new_content: Any) -> bool:
        old_content = content_path.read_text(encoding="utf-8")
    
        new_content = yaml.dump(new_content, sort_keys=False, width=200, allow_unicode=True)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. scripts/people.py

                    "avatarUrl": author.avatarUrl,
                    "url": author.url,
                }
                users[user] = user_data
                users_list.append(user_data)
        return users_list
    
    
    def update_content(*, content_path: Path, new_content: Any) -> bool:
        old_content = content_path.read_text(encoding="utf-8")
    
        new_content = yaml.dump(new_content, sort_keys=False, width=200, allow_unicode=True)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. scripts/notify_translations.py

            discussion_id=discussion_id,
            body=body,
        )
        response = AddCommentResponse.model_validate(data)
        return response.data.addDiscussionComment.comment
    
    
    def update_comment(*, settings: Settings, comment_id: str, body: str) -> Comment:
        data = get_graphql_response(
            settings=settings,
            query=update_comment_mutation,
            comment_id=comment_id,
            body=body,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top