Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix (almost) every type hint in tags.py #1117

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

gycsaba96
Copy link
Contributor

The main changes are as follows:

  • Use the _Element class instead of the Element factory for typing.
  • Convert tag IDs to UUID during XML parsing. (The same thing caused many problems for tasks.)
  • During XML parsing, the parent property contains a UUID in the new format. This allowed for some simplifications. A related test case is also fixed.

- Use the _Element class instead of the Element factory for typing.
- Convert tag IDs to UUID during XML parsing.
- During XML parsing, the "parent" property contains a UUID in the new format. This allowed for some simplifications.
- Other minor typing fixes.
- Fixed a related test case.
@diegogangl diegogangl added enhancement maintainability Automated tests suite, tooling, refactoring, or anything that makes it easier for developers labels Jun 24, 2024
@diegogangl
Copy link
Contributor

LGTM, thanks!

@diegogangl diegogangl merged commit 13ba20c into getting-things-gnome:master Jun 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement maintainability Automated tests suite, tooling, refactoring, or anything that makes it easier for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants