Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for update_content (0.07 seconds)

  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,
            ),
        ]
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 16 12:34:01 GMT 2025
    - 8.6K bytes
    - Click Count (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)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 16 12:34:01 GMT 2025
    - 6.1K bytes
    - Click Count (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)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:51:24 GMT 2026
    - 15K bytes
    - Click Count (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,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  5. scripts/doc_parsing_utils.py

        modified_text = text.copy()
        for block, original_block in zip(code_blocks, original_code_blocks, strict=True):
            updated_content = replace_multiline_code_block(block, original_block)
    
            start_line_index = block["start_line_no"] - 1
            for i, updated_line in enumerate(updated_content):
                modified_text[start_line_index + i] = updated_line
    
        return modified_text
    
    
    # All checks
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 23.5K bytes
    - Click Count (0)
Back to Top