Skip to content

Refactor InfrahubNode to avoid dynamic class creation #412

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

Merged
merged 1 commit into from
Jun 4, 2025

Refactor InfrahubNode to avoid dynamic class creation

55d3d84
Select commit
Loading
Failed to load commit list.
Merged

Refactor InfrahubNode to avoid dynamic class creation #412

Refactor InfrahubNode to avoid dynamic class creation
55d3d84
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jun 4, 2025 in 1s

68.13% of diff hit (target 0.00%)

View this Pull Request on Codecov

68.13% of diff hit (target 0.00%)

Annotations

Check warning on line 77 in infrahub_sdk/ctl/generator.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

infrahub_sdk/ctl/generator.py#L77

Added line #L77 was not covered by tests

Check warning on line 90 in infrahub_sdk/ctl/generator.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

infrahub_sdk/ctl/generator.py#L90

Added line #L90 was not covered by tests

Check warning on line 148 in infrahub_sdk/node/node.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

infrahub_sdk/node/node.py#L147-L148

Added lines #L147 - L148 were not covered by tests

Check warning on line 457 in infrahub_sdk/node/node.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

infrahub_sdk/node/node.py#L457

Added line #L457 was not covered by tests

Check warning on line 530 in infrahub_sdk/node/node.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

infrahub_sdk/node/node.py#L530

Added line #L530 was not covered by tests

Check warning on line 537 in infrahub_sdk/node/node.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

infrahub_sdk/node/node.py#L537

Added line #L537 was not covered by tests

Check warning on line 1013 in infrahub_sdk/node/node.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

infrahub_sdk/node/node.py#L1013

Added line #L1013 was not covered by tests

Check warning on line 1015 in infrahub_sdk/node/node.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

infrahub_sdk/node/node.py#L1015

Added line #L1015 was not covered by tests

Check warning on line 1021 in infrahub_sdk/node/node.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

infrahub_sdk/node/node.py#L1021

Added line #L1021 was not covered by tests

Check warning on line 1104 in infrahub_sdk/node/node.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

infrahub_sdk/node/node.py#L1104

Added line #L1104 was not covered by tests

Check warning on line 1111 in infrahub_sdk/node/node.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

infrahub_sdk/node/node.py#L1111

Added line #L1111 was not covered by tests

Check warning on line 1584 in infrahub_sdk/node/node.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

infrahub_sdk/node/node.py#L1584

Added line #L1584 was not covered by tests

Check warning on line 1586 in infrahub_sdk/node/node.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

infrahub_sdk/node/node.py#L1586

Added line #L1586 was not covered by tests

Check warning on line 1592 in infrahub_sdk/node/node.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

infrahub_sdk/node/node.py#L1592

Added line #L1592 was not covered by tests

Check warning on line 105 in infrahub_sdk/query_groups.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

infrahub_sdk/query_groups.py#L105

Added line #L105 was not covered by tests

Check warning on line 199 in infrahub_sdk/query_groups.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

infrahub_sdk/query_groups.py#L199

Added line #L199 was not covered by tests