- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for update_content (0.07 seconds)
-
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) -
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) -
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 checksCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:37:41 GMT 2026 - 23.5K bytes - Click Count (0)