Skip to content

Update notebook - #25

Merged
vietle-bh merged 3 commits into
developfrom
UpdateNotebook
Dec 4, 2026
Merged

vietle-bh merged 3 commits into
developfrom
UpdateNotebook

Conversation

@vietle-bh

@vietle-bh vietle-bh commented Dec 4, 2026 •

Copy link
Copy Markdown
Collaborator

This pull request introduces several improvements and new features to the Python-to-C# schema generation and CI tooling. The main changes focus on more robust handling of types that cannot be converted, improved reporting and error handling, and new support for distinguishing between repositories that are converted but managed manually (i.e., changes are not automated). The changes also introduce new command-line options and internal APIs to support these workflows.

Error handling and reporting improvements:

  • Types that cannot be converted are now skipped (along with their dependents), and the rest of the package is still written. Clear warnings and info messages are logged, and skipped types are no longer treated as hard errors. [1] [2] [3] [4] [5] [6]
  • The warning baseline now includes "always allowed" warning kinds for skipped types, so these do not fail CI runs.
  • Skipped types and their reasons are now printed in the output, and a summary of skipped types is provided.

Manual repository support:

  • Added support for distinguishing repositories that are converted but not included in the set where automated C# pull requests are raised (manual repos). Classes belonging to such repositories are excluded from automated planning, and notes are provided for manual follow-up. [1] [2] [3] [4] [5] [6] [7]

Command-line and API enhancements:

  • New command-line arguments for specifying allowed and converted repositories, as well as an option to skip failing modules during verification. [1] [2] [3]
  • The verify command now supports skipping modules that fail to import, and these are excluded from manifest comparisons.

Python collection handling in C# emission:

  • Improved detection of C# collection types that do not map directly to Python's list, dict, or set. These are now recorded in the marker output for clarity. [1] [2]

Internal refactoring and documentation:

  • Added and clarified docstrings and descriptions for new and existing methods, improving maintainability and clarity of the codebase. [1] [2]

@vietle-bh vietle-bh self-assigned this Dec 4, 2026
@vietle-bh vietle-bh added the type:feature New capability or enhancement label Dec 4, 2026
@vietle-bh
vietle-bh merged commit 3383bff into develop Dec 4, 2026
2 checks passed
@vietle-bh
vietle-bh deleted the UpdateNotebook branch December 4, 2026 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:feature New capability or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant