infrahub-server 1.3.0a0__tar.gz → 1.3.0b1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (791) hide show
  1. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/PKG-INFO +3 -3
  2. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/attribute.py +3 -3
  3. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/constants/__init__.py +5 -0
  4. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/constants/infrahubkind.py +2 -0
  5. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/query/attribute_rename.py +2 -4
  6. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/query/delete_element_in_schema.py +16 -11
  7. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/query/node_duplicate.py +16 -15
  8. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/query/relationship_duplicate.py +16 -11
  9. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/schema/node_attribute_remove.py +1 -2
  10. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/schema/node_remove.py +16 -13
  11. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/node/__init__.py +72 -14
  12. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/node/resource_manager/ip_address_pool.py +6 -2
  13. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/node/resource_manager/ip_prefix_pool.py +6 -2
  14. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/node/resource_manager/number_pool.py +31 -5
  15. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/node/standard.py +6 -1
  16. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/protocols.py +9 -0
  17. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/query/relationship.py +2 -4
  18. infrahub_server-1.3.0b1/backend/infrahub/core/schema/attribute_parameters.py +160 -0
  19. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/attribute_schema.py +38 -10
  20. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/core/__init__.py +16 -2
  21. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/core/group.py +45 -0
  22. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/core/resource_pool.py +20 -0
  23. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/internal.py +16 -3
  24. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/generated/attribute_schema.py +12 -5
  25. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/manager.py +3 -0
  26. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/schema_branch.py +55 -0
  27. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/__init__.py +8 -0
  28. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/attribute/choices.py +0 -1
  29. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/attribute/enum.py +0 -1
  30. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/attribute/kind.py +0 -1
  31. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/attribute/length.py +0 -1
  32. infrahub_server-1.3.0b1/backend/infrahub/core/validators/attribute/min_max.py +118 -0
  33. infrahub_server-1.3.0b1/backend/infrahub/core/validators/attribute/number_pool.py +106 -0
  34. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/attribute/optional.py +0 -2
  35. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/attribute/regex.py +0 -1
  36. infrahub_server-1.3.0b1/backend/infrahub/core/validators/enum.py +12 -0
  37. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/database/__init__.py +15 -3
  38. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/git/base.py +5 -3
  39. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/git/integrator.py +102 -3
  40. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/resource_manager.py +62 -6
  41. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/queries/resource_manager.py +7 -1
  42. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/queries/task.py +10 -0
  43. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/types/task_log.py +3 -2
  44. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/menu/menu.py +3 -3
  45. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/pools/number.py +5 -3
  46. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/task_manager/task.py +44 -4
  47. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/types.py +6 -0
  48. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/pyproject.toml +1 -4
  49. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/client.py +43 -10
  50. infrahub_server-1.3.0b1/python_sdk/infrahub_sdk/node/__init__.py +39 -0
  51. infrahub_server-1.3.0b1/python_sdk/infrahub_sdk/node/attribute.py +122 -0
  52. infrahub_server-1.3.0b1/python_sdk/infrahub_sdk/node/constants.py +21 -0
  53. {infrahub_server-1.3.0a0/python_sdk/infrahub_sdk → infrahub_server-1.3.0b1/python_sdk/infrahub_sdk/node}/node.py +50 -749
  54. infrahub_server-1.3.0b1/python_sdk/infrahub_sdk/node/parsers.py +15 -0
  55. infrahub_server-1.3.0b1/python_sdk/infrahub_sdk/node/property.py +24 -0
  56. infrahub_server-1.3.0b1/python_sdk/infrahub_sdk/node/related_node.py +266 -0
  57. infrahub_server-1.3.0b1/python_sdk/infrahub_sdk/node/relationship.py +302 -0
  58. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/protocols.py +112 -0
  59. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/protocols_base.py +34 -2
  60. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/query_groups.py +13 -2
  61. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/schema/main.py +1 -0
  62. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/schema/repository.py +16 -0
  63. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/spec/object.py +1 -1
  64. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/store.py +1 -1
  65. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/testing/schemas/car_person.py +1 -0
  66. infrahub_server-1.3.0a0/backend/infrahub/core/schema/attribute_parameters.py +0 -36
  67. infrahub_server-1.3.0a0/backend/infrahub/core/validators/enum.py +0 -7
  68. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/LICENSE.txt +0 -0
  69. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/README.md +0 -0
  70. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/__init__.py +0 -0
  71. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/actions/__init__.py +0 -0
  72. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/actions/constants.py +0 -0
  73. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/actions/gather.py +0 -0
  74. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/actions/models.py +0 -0
  75. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/actions/parsers.py +0 -0
  76. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/actions/schema.py +0 -0
  77. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/actions/tasks.py +0 -0
  78. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/actions/triggers.py +0 -0
  79. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/api/__init__.py +0 -0
  80. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/api/artifact.py +0 -0
  81. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/api/auth.py +0 -0
  82. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/api/dependencies.py +0 -0
  83. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/api/diff/__init__.py +0 -0
  84. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/api/diff/diff.py +0 -0
  85. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/api/diff/validation_models.py +0 -0
  86. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/api/exception_handlers.py +0 -0
  87. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/api/exceptions.py +0 -0
  88. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/api/file.py +0 -0
  89. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/api/internal.py +0 -0
  90. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/api/menu.py +0 -0
  91. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/api/oauth2.py +0 -0
  92. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/api/oidc.py +0 -0
  93. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/api/query.py +0 -0
  94. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/api/schema.py +0 -0
  95. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/api/static/redoc.standalone.js +0 -0
  96. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/api/static/swagger-ui-bundle.js +0 -0
  97. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/api/static/swagger-ui.css +0 -0
  98. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/api/storage.py +0 -0
  99. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/api/transformation.py +0 -0
  100. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/artifacts/__init__.py +0 -0
  101. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/artifacts/models.py +0 -0
  102. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/artifacts/tasks.py +0 -0
  103. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/auth.py +0 -0
  104. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/cli/__init__.py +0 -0
  105. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/cli/constants.py +0 -0
  106. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/cli/context.py +0 -0
  107. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/cli/db.py +0 -0
  108. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/cli/events.py +0 -0
  109. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/cli/git_agent.py +0 -0
  110. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/cli/patch.py +0 -0
  111. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/cli/server.py +0 -0
  112. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/cli/tasks.py +0 -0
  113. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/cli/upgrade.py +0 -0
  114. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/components.py +0 -0
  115. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/computed_attribute/__init__.py +0 -0
  116. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/computed_attribute/constants.py +0 -0
  117. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/computed_attribute/gather.py +0 -0
  118. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/computed_attribute/models.py +0 -0
  119. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/computed_attribute/tasks.py +0 -0
  120. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/computed_attribute/triggers.py +0 -0
  121. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/config.py +0 -0
  122. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/constants/__init__.py +0 -0
  123. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/constants/database.py +0 -0
  124. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/context.py +0 -0
  125. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/__init__.py +0 -0
  126. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/account.py +0 -0
  127. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/branch/__init__.py +0 -0
  128. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/branch/models.py +0 -0
  129. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/branch/tasks.py +0 -0
  130. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/changelog/__init__.py +0 -0
  131. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/changelog/diff.py +0 -0
  132. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/changelog/models.py +0 -0
  133. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/constants/database.py +0 -0
  134. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/constants/relationship_label.py +0 -0
  135. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/constants/schema.py +0 -0
  136. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/constraint/__init__.py +0 -0
  137. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/constraint/node/__init__.py +0 -0
  138. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/constraint/node/runner.py +0 -0
  139. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/convert_object_type/__init__.py +0 -0
  140. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/convert_object_type/conversion.py +0 -0
  141. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/convert_object_type/schema_mapping.py +0 -0
  142. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/__init__.py +0 -0
  143. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/artifacts/__init__.py +0 -0
  144. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/artifacts/calculator.py +0 -0
  145. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/branch_differ.py +0 -0
  146. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/calculator.py +0 -0
  147. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/combiner.py +0 -0
  148. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/conflict_transferer.py +0 -0
  149. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/conflicts_enricher.py +0 -0
  150. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/conflicts_extractor.py +0 -0
  151. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/coordinator.py +0 -0
  152. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/data_check_synchronizer.py +0 -0
  153. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/enricher/__init__.py +0 -0
  154. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/enricher/aggregated.py +0 -0
  155. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/enricher/cardinality_one.py +0 -0
  156. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/enricher/hierarchy.py +0 -0
  157. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/enricher/interface.py +0 -0
  158. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/enricher/labels.py +0 -0
  159. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/enricher/path_identifier.py +0 -0
  160. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/enricher/summary_counts.py +0 -0
  161. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/exceptions.py +0 -0
  162. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/ipam_diff_parser.py +0 -0
  163. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/merger/__init__.py +0 -0
  164. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/merger/merger.py +0 -0
  165. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/merger/model.py +0 -0
  166. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/merger/serializer.py +0 -0
  167. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/model/__init__.py +0 -0
  168. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/model/diff.py +0 -0
  169. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/model/field_specifiers_map.py +0 -0
  170. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/model/path.py +0 -0
  171. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/models.py +0 -0
  172. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/parent_node_adder.py +0 -0
  173. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/payload_builder.py +0 -0
  174. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/query/__init__.py +0 -0
  175. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/query/all_conflicts.py +0 -0
  176. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/query/artifact.py +0 -0
  177. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/query/delete_query.py +0 -0
  178. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/query/diff_get.py +0 -0
  179. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/query/diff_summary.py +0 -0
  180. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/query/drop_nodes.py +0 -0
  181. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/query/field_specifiers.py +0 -0
  182. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/query/field_summary.py +0 -0
  183. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/query/filters.py +0 -0
  184. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/query/get_conflict_query.py +0 -0
  185. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/query/has_conflicts_query.py +0 -0
  186. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/query/merge.py +0 -0
  187. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/query/merge_tracking_id.py +0 -0
  188. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/query/roots_metadata.py +0 -0
  189. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/query/save.py +0 -0
  190. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/query/summary_counts_enricher.py +0 -0
  191. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/query/time_range_query.py +0 -0
  192. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/query/update_conflict_query.py +0 -0
  193. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/query_parser.py +0 -0
  194. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/repository/__init__.py +0 -0
  195. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/repository/deserializer.py +0 -0
  196. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/repository/repository.py +0 -0
  197. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/diff/tasks.py +0 -0
  198. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/enums.py +0 -0
  199. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/graph/__init__.py +0 -0
  200. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/graph/constraints.py +0 -0
  201. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/graph/index.py +0 -0
  202. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/graph/schema.py +0 -0
  203. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/initialization.py +0 -0
  204. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/integrity/__init__.py +0 -0
  205. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/integrity/object_conflict/__init__.py +0 -0
  206. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/integrity/object_conflict/conflict_recorder.py +0 -0
  207. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/ipam/__init__.py +0 -0
  208. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/ipam/constants.py +0 -0
  209. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/ipam/kinds_getter.py +0 -0
  210. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/ipam/model.py +0 -0
  211. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/ipam/reconciler.py +0 -0
  212. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/ipam/size.py +0 -0
  213. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/ipam/tasks.py +0 -0
  214. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/ipam/utilization.py +0 -0
  215. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/manager.py +0 -0
  216. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/merge.py +0 -0
  217. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/__init__.py +0 -0
  218. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/__init__.py +0 -0
  219. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m001_add_version_to_graph.py +0 -0
  220. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m002_attribute_is_default.py +0 -0
  221. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m003_relationship_parent_optional.py +0 -0
  222. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m004_add_attr_documentation.py +0 -0
  223. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m005_add_rel_read_only.py +0 -0
  224. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m006_add_rel_on_delete.py +0 -0
  225. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m007_add_rel_allow_override.py +0 -0
  226. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m008_add_human_friendly_id.py +0 -0
  227. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m009_add_generate_profile_attr.py +0 -0
  228. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m010_add_generate_profile_attr_generic.py +0 -0
  229. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m011_remove_profile_relationship_schema.py +0 -0
  230. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m012_convert_account_generic.py +0 -0
  231. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m013_convert_git_password_credential.py +0 -0
  232. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m014_remove_index_attr_value.py +0 -0
  233. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m015_diff_format_update.py +0 -0
  234. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m016_diff_delete_bug_fix.py +0 -0
  235. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m017_add_core_profile.py +0 -0
  236. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m018_uniqueness_nulls.py +0 -0
  237. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m019_restore_rels_to_time.py +0 -0
  238. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m020_duplicate_edges.py +0 -0
  239. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m021_missing_hierarchy_merge.py +0 -0
  240. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m022_add_generate_template_attr.py +0 -0
  241. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m023_deduplicate_cardinality_one_relationships.py +0 -0
  242. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m024_missing_hierarchy_backfill.py +0 -0
  243. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m025_uniqueness_nulls.py +0 -0
  244. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m026_0000_prefix_fix.py +0 -0
  245. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m027_delete_isolated_nodes.py +0 -0
  246. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/graph/m028_delete_diffs.py +0 -0
  247. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/query/__init__.py +0 -0
  248. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/query/attribute_add.py +0 -0
  249. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/query/schema_attribute_update.py +0 -0
  250. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/schema/__init__.py +0 -0
  251. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/schema/attribute_name_update.py +0 -0
  252. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/schema/models.py +0 -0
  253. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/schema/node_attribute_add.py +0 -0
  254. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/schema/node_kind_update.py +0 -0
  255. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/schema/placeholder_dummy.py +0 -0
  256. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/schema/tasks.py +0 -0
  257. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/migrations/shared.py +0 -0
  258. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/models.py +0 -0
  259. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/node/base.py +0 -0
  260. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/node/constraints/__init__.py +0 -0
  261. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/node/constraints/attribute_uniqueness.py +0 -0
  262. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/node/constraints/grouped_uniqueness.py +0 -0
  263. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/node/constraints/interface.py +0 -0
  264. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/node/create.py +0 -0
  265. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/node/delete_validator.py +0 -0
  266. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/node/ipam.py +0 -0
  267. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/node/permissions.py +0 -0
  268. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/node/resource_manager/__init__.py +0 -0
  269. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/path.py +0 -0
  270. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/property.py +0 -0
  271. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/protocols_base.py +0 -0
  272. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/query/__init__.py +0 -0
  273. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/query/attribute.py +0 -0
  274. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/query/branch.py +0 -0
  275. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/query/delete.py +0 -0
  276. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/query/diff.py +0 -0
  277. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/query/ipam.py +0 -0
  278. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/query/node.py +0 -0
  279. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/query/resource_manager.py +0 -0
  280. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/query/standard_node.py +0 -0
  281. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/query/subquery.py +0 -0
  282. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/query/task.py +0 -0
  283. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/query/task_log.py +0 -0
  284. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/query/utils.py +0 -0
  285. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/registry.py +0 -0
  286. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/relationship/__init__.py +0 -0
  287. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/relationship/constraints/__init__.py +0 -0
  288. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/relationship/constraints/count.py +0 -0
  289. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/relationship/constraints/interface.py +0 -0
  290. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/relationship/constraints/peer_kind.py +0 -0
  291. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/relationship/constraints/profiles_kind.py +0 -0
  292. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/relationship/model.py +0 -0
  293. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/root.py +0 -0
  294. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/__init__.py +0 -0
  295. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/basenode_schema.py +0 -0
  296. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/computed_attribute.py +0 -0
  297. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/constants.py +0 -0
  298. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/__init__.py +0 -0
  299. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/core/account.py +0 -0
  300. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/core/artifact.py +0 -0
  301. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/core/builtin.py +0 -0
  302. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/core/check.py +0 -0
  303. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/core/core.py +0 -0
  304. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/core/generator.py +0 -0
  305. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/core/graphql_query.py +0 -0
  306. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/core/ipam.py +0 -0
  307. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/core/lineage.py +0 -0
  308. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/core/menu.py +0 -0
  309. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/core/permission.py +0 -0
  310. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/core/profile.py +0 -0
  311. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/core/propose_change.py +0 -0
  312. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/core/propose_change_comment.py +0 -0
  313. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/core/propose_change_validator.py +0 -0
  314. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/core/repository.py +0 -0
  315. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/core/template.py +0 -0
  316. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/core/transform.py +0 -0
  317. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/core/webhook.py +0 -0
  318. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/definitions/deprecated.py +0 -0
  319. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/dropdown.py +0 -0
  320. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/generated/__init__.py +0 -0
  321. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/generated/base_node_schema.py +0 -0
  322. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/generated/genericnode_schema.py +0 -0
  323. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/generated/node_schema.py +0 -0
  324. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/generated/relationship_schema.py +0 -0
  325. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/generic_schema.py +0 -0
  326. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/node_schema.py +0 -0
  327. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/profile_schema.py +0 -0
  328. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/relationship_schema.py +0 -0
  329. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/schema_branch_computed.py +0 -0
  330. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/schema/template_schema.py +0 -0
  331. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/task/__init__.py +0 -0
  332. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/task/task.py +0 -0
  333. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/task/task_log.py +0 -0
  334. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/task/user_task.py +0 -0
  335. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/timestamp.py +0 -0
  336. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/utils.py +0 -0
  337. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/aggregated_checker.py +0 -0
  338. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/attribute/__init__.py +0 -0
  339. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/attribute/unique.py +0 -0
  340. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/checks_runner.py +0 -0
  341. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/determiner.py +0 -0
  342. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/interface.py +0 -0
  343. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/model.py +0 -0
  344. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/models/__init__.py +0 -0
  345. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/models/validate_migration.py +0 -0
  346. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/models/violation.py +0 -0
  347. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/node/__init__.py +0 -0
  348. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/node/attribute.py +0 -0
  349. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/node/generate_profile.py +0 -0
  350. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/node/hierarchy.py +0 -0
  351. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/node/inherit_from.py +0 -0
  352. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/node/relationship.py +0 -0
  353. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/query.py +0 -0
  354. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/relationship/__init__.py +0 -0
  355. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/relationship/count.py +0 -0
  356. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/relationship/optional.py +0 -0
  357. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/relationship/peer.py +0 -0
  358. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/shared.py +0 -0
  359. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/tasks.py +0 -0
  360. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/uniqueness/__init__.py +0 -0
  361. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/uniqueness/checker.py +0 -0
  362. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/uniqueness/index.py +0 -0
  363. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/uniqueness/model.py +0 -0
  364. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/core/validators/uniqueness/query.py +0 -0
  365. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/database/index.py +0 -0
  366. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/database/memgraph.py +0 -0
  367. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/database/metrics.py +0 -0
  368. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/database/neo4j.py +0 -0
  369. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/__init__.py +0 -0
  370. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/__init__.py +0 -0
  371. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/grouped/__init__.py +0 -0
  372. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/grouped/node_runner.py +0 -0
  373. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/node/__init__.py +0 -0
  374. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/node/grouped_uniqueness.py +0 -0
  375. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/node/uniqueness.py +0 -0
  376. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/relationship_manager/__init__.py +0 -0
  377. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/relationship_manager/count.py +0 -0
  378. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/relationship_manager/peer_kind.py +0 -0
  379. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/relationship_manager/profiles_kind.py +0 -0
  380. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/schema/__init__.py +0 -0
  381. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/schema/aggregated.py +0 -0
  382. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/schema/attribute_choices.py +0 -0
  383. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/schema/attribute_enum.py +0 -0
  384. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/schema/attribute_kind.py +0 -0
  385. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/schema/attribute_length.py +0 -0
  386. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/schema/attribute_optional.py +0 -0
  387. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/schema/attribute_regex.py +0 -0
  388. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/schema/attribute_uniqueness.py +0 -0
  389. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/schema/generate_profile.py +0 -0
  390. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/schema/inherit_from.py +0 -0
  391. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/schema/node_attribute.py +0 -0
  392. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/schema/node_relationship.py +0 -0
  393. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/schema/relationship_count.py +0 -0
  394. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/schema/relationship_optional.py +0 -0
  395. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/constraint/schema/uniqueness.py +0 -0
  396. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/diff/__init__.py +0 -0
  397. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/diff/calculator.py +0 -0
  398. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/diff/combiner.py +0 -0
  399. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/diff/conflict_transferer.py +0 -0
  400. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/diff/conflicts_enricher.py +0 -0
  401. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/diff/conflicts_extractor.py +0 -0
  402. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/diff/coordinator.py +0 -0
  403. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/diff/data_check_conflict_recorder.py +0 -0
  404. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/diff/data_check_synchronizer.py +0 -0
  405. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/diff/deserializer.py +0 -0
  406. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/diff/diff_merger.py +0 -0
  407. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/diff/enricher/__init__.py +0 -0
  408. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/diff/enricher/aggregated.py +0 -0
  409. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/diff/enricher/cardinality_one.py +0 -0
  410. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/diff/enricher/hierarchy.py +0 -0
  411. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/diff/enricher/labels.py +0 -0
  412. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/diff/enricher/path_identifier.py +0 -0
  413. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/diff/enricher/summary_counts.py +0 -0
  414. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/diff/ipam_diff_parser.py +0 -0
  415. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/diff/parent_node_adder.py +0 -0
  416. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/diff/repository.py +0 -0
  417. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/ip/__init__.py +0 -0
  418. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/ip/kinds_getter.py +0 -0
  419. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/node/__init__.py +0 -0
  420. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/builder/node/delete_validator.py +0 -0
  421. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/component/__init__.py +0 -0
  422. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/component/exceptions.py +0 -0
  423. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/component/registry.py +0 -0
  424. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/interface.py +0 -0
  425. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/dependencies/registry.py +0 -0
  426. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/events/__init__.py +0 -0
  427. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/events/artifact_action.py +0 -0
  428. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/events/branch_action.py +0 -0
  429. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/events/constants.py +0 -0
  430. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/events/generator.py +0 -0
  431. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/events/group_action.py +0 -0
  432. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/events/models.py +0 -0
  433. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/events/node_action.py +0 -0
  434. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/events/repository_action.py +0 -0
  435. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/events/schema_action.py +0 -0
  436. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/events/utils.py +0 -0
  437. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/events/validator_action.py +0 -0
  438. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/exceptions.py +0 -0
  439. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/generators/__init__.py +0 -0
  440. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/generators/models.py +0 -0
  441. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/generators/tasks.py +0 -0
  442. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/git/__init__.py +0 -0
  443. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/git/constants.py +0 -0
  444. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/git/directory.py +0 -0
  445. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/git/models.py +0 -0
  446. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/git/repository.py +0 -0
  447. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/git/tasks.py +0 -0
  448. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/git/utils.py +0 -0
  449. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/git/worktree.py +0 -0
  450. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/git_credential/__init__.py +0 -0
  451. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/git_credential/askpass.py +0 -0
  452. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/git_credential/helper.py +0 -0
  453. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/__init__.py +0 -0
  454. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/analyzer.py +0 -0
  455. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/api/__init__.py +0 -0
  456. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/api/dependencies.py +0 -0
  457. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/api/endpoints.py +0 -0
  458. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/app.py +0 -0
  459. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/auth/__init__.py +0 -0
  460. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/auth/query_permission_checker/__init__.py +0 -0
  461. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/auth/query_permission_checker/anonymous_checker.py +0 -0
  462. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/auth/query_permission_checker/checker.py +0 -0
  463. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/auth/query_permission_checker/default_branch_checker.py +0 -0
  464. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/auth/query_permission_checker/interface.py +0 -0
  465. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/auth/query_permission_checker/merge_operation_checker.py +0 -0
  466. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/auth/query_permission_checker/object_permission_checker.py +0 -0
  467. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/auth/query_permission_checker/super_admin_checker.py +0 -0
  468. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/constants.py +0 -0
  469. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/context.py +0 -0
  470. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/directives.py +0 -0
  471. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/enums.py +0 -0
  472. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/initialization.py +0 -0
  473. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/loaders/__init__.py +0 -0
  474. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/loaders/node.py +0 -0
  475. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/loaders/peers.py +0 -0
  476. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/loaders/shared.py +0 -0
  477. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/manager.py +0 -0
  478. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/metrics.py +0 -0
  479. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/models.py +0 -0
  480. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/__init__.py +0 -0
  481. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/account.py +0 -0
  482. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/action.py +0 -0
  483. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/artifact_definition.py +0 -0
  484. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/attribute.py +0 -0
  485. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/branch.py +0 -0
  486. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/computed_attribute.py +0 -0
  487. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/convert_object_type.py +0 -0
  488. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/diff.py +0 -0
  489. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/diff_conflict.py +0 -0
  490. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/generator.py +0 -0
  491. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/graphql_query.py +0 -0
  492. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/ipam.py +0 -0
  493. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/main.py +0 -0
  494. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/menu.py +0 -0
  495. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/models.py +0 -0
  496. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/node_getter/__init__.py +0 -0
  497. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/node_getter/by_default_filter.py +0 -0
  498. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/node_getter/by_hfid.py +0 -0
  499. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/node_getter/by_id.py +0 -0
  500. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/node_getter/interface.py +0 -0
  501. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/proposed_change.py +0 -0
  502. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/relationship.py +0 -0
  503. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/repository.py +0 -0
  504. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/schema.py +0 -0
  505. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/tasks.py +0 -0
  506. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/mutations/webhook.py +0 -0
  507. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/parser.py +0 -0
  508. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/permissions.py +0 -0
  509. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/queries/__init__.py +0 -0
  510. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/queries/account.py +0 -0
  511. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/queries/branch.py +0 -0
  512. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/queries/convert_object_type_mapping.py +0 -0
  513. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/queries/diff/__init__.py +0 -0
  514. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/queries/diff/tree.py +0 -0
  515. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/queries/event.py +0 -0
  516. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/queries/internal.py +0 -0
  517. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/queries/ipam.py +0 -0
  518. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/queries/relationship.py +0 -0
  519. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/queries/search.py +0 -0
  520. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/queries/status.py +0 -0
  521. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/resolvers/__init__.py +0 -0
  522. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/resolvers/many_relationship.py +0 -0
  523. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/resolvers/resolver.py +0 -0
  524. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/resolvers/single_relationship.py +0 -0
  525. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/schema.py +0 -0
  526. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/subscription/__init__.py +0 -0
  527. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/subscription/events.py +0 -0
  528. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/subscription/graphql_query.py +0 -0
  529. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/types/__init__.py +0 -0
  530. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/types/attribute.py +0 -0
  531. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/types/branch.py +0 -0
  532. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/types/common.py +0 -0
  533. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/types/context.py +0 -0
  534. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/types/enums.py +0 -0
  535. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/types/event.py +0 -0
  536. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/types/interface.py +0 -0
  537. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/types/node.py +0 -0
  538. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/types/permission.py +0 -0
  539. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/types/relationship.py +0 -0
  540. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/types/standard_node.py +0 -0
  541. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/types/task.py +0 -0
  542. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/graphql/utils.py +0 -0
  543. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/groups/__init__.py +0 -0
  544. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/groups/ancestors.py +0 -0
  545. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/groups/models.py +0 -0
  546. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/groups/parsers.py +0 -0
  547. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/groups/tasks.py +0 -0
  548. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/helpers.py +0 -0
  549. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/lock.py +0 -0
  550. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/log.py +0 -0
  551. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/menu/__init__.py +0 -0
  552. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/menu/constants.py +0 -0
  553. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/menu/generator.py +0 -0
  554. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/menu/models.py +0 -0
  555. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/menu/repository.py +0 -0
  556. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/menu/utils.py +0 -0
  557. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/message_bus/__init__.py +0 -0
  558. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/message_bus/messages/__init__.py +0 -0
  559. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/message_bus/messages/git_file_get.py +0 -0
  560. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/message_bus/messages/git_repository_connectivity.py +0 -0
  561. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/message_bus/messages/refresh_git_fetch.py +0 -0
  562. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/message_bus/messages/refresh_registry_branches.py +0 -0
  563. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/message_bus/messages/refresh_registry_rebasedbranch.py +0 -0
  564. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/message_bus/messages/send_echo_request.py +0 -0
  565. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/message_bus/operations/__init__.py +0 -0
  566. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/message_bus/operations/git/__init__.py +0 -0
  567. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/message_bus/operations/git/file.py +0 -0
  568. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/message_bus/operations/git/repository.py +0 -0
  569. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/message_bus/operations/refresh/__init__.py +0 -0
  570. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/message_bus/operations/refresh/registry.py +0 -0
  571. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/message_bus/operations/send/__init__.py +0 -0
  572. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/message_bus/operations/send/echo.py +0 -0
  573. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/message_bus/types.py +0 -0
  574. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/middleware.py +0 -0
  575. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/models.py +0 -0
  576. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/patch/__init__.py +0 -0
  577. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/patch/constants.py +0 -0
  578. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/patch/edge_adder.py +0 -0
  579. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/patch/edge_deleter.py +0 -0
  580. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/patch/edge_updater.py +0 -0
  581. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/patch/models.py +0 -0
  582. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/patch/plan_reader.py +0 -0
  583. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/patch/plan_writer.py +0 -0
  584. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/patch/queries/__init__.py +0 -0
  585. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/patch/queries/base.py +0 -0
  586. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/patch/queries/consolidate_duplicated_nodes.py +0 -0
  587. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/patch/queries/delete_duplicated_edges.py +0 -0
  588. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/patch/runner.py +0 -0
  589. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/patch/vertex_adder.py +0 -0
  590. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/patch/vertex_deleter.py +0 -0
  591. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/patch/vertex_updater.py +0 -0
  592. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/permissions/__init__.py +0 -0
  593. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/permissions/backend.py +0 -0
  594. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/permissions/constants.py +0 -0
  595. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/permissions/globals.py +0 -0
  596. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/permissions/local_backend.py +0 -0
  597. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/permissions/manager.py +0 -0
  598. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/permissions/report.py +0 -0
  599. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/permissions/types.py +0 -0
  600. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/pools/__init__.py +0 -0
  601. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/pools/address.py +0 -0
  602. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/pools/prefix.py +0 -0
  603. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/prefect_server/__init__.py +0 -0
  604. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/prefect_server/app.py +0 -0
  605. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/prefect_server/database.py +0 -0
  606. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/prefect_server/events.py +0 -0
  607. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/prefect_server/models.py +0 -0
  608. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/proposed_change/__init__.py +0 -0
  609. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/proposed_change/branch_diff.py +0 -0
  610. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/proposed_change/constants.py +0 -0
  611. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/proposed_change/models.py +0 -0
  612. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/proposed_change/tasks.py +0 -0
  613. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/pytest_plugin.py +0 -0
  614. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/serve/__init__.py +0 -0
  615. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/serve/gunicorn_config.py +0 -0
  616. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/serve/log.py +0 -0
  617. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/serve/worker.py +0 -0
  618. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/server.py +0 -0
  619. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/services/__init__.py +0 -0
  620. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/services/adapters/__init__.py +0 -0
  621. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/services/adapters/cache/__init__.py +0 -0
  622. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/services/adapters/cache/nats.py +0 -0
  623. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/services/adapters/cache/redis.py +0 -0
  624. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/services/adapters/event/__init__.py +0 -0
  625. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/services/adapters/http/__init__.py +0 -0
  626. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/services/adapters/http/httpx.py +0 -0
  627. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/services/adapters/message_bus/__init__.py +0 -0
  628. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/services/adapters/message_bus/local.py +0 -0
  629. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/services/adapters/message_bus/nats.py +0 -0
  630. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/services/adapters/message_bus/rabbitmq.py +0 -0
  631. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/services/adapters/workflow/__init__.py +0 -0
  632. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/services/adapters/workflow/local.py +0 -0
  633. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/services/adapters/workflow/worker.py +0 -0
  634. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/services/component.py +0 -0
  635. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/services/protocols.py +0 -0
  636. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/services/scheduler.py +0 -0
  637. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/storage.py +0 -0
  638. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/task_manager/__init__.py +0 -0
  639. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/task_manager/constants.py +0 -0
  640. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/task_manager/event.py +0 -0
  641. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/task_manager/models.py +0 -0
  642. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/tasks/__init__.py +0 -0
  643. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/tasks/artifact.py +0 -0
  644. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/tasks/check.py +0 -0
  645. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/tasks/dummy.py +0 -0
  646. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/tasks/keepalive.py +0 -0
  647. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/tasks/recurring.py +0 -0
  648. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/tasks/registry.py +0 -0
  649. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/telemetry/__init__.py +0 -0
  650. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/telemetry/constants.py +0 -0
  651. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/telemetry/database.py +0 -0
  652. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/telemetry/models.py +0 -0
  653. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/telemetry/task_manager.py +0 -0
  654. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/telemetry/tasks.py +0 -0
  655. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/telemetry/utils.py +0 -0
  656. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/trace.py +0 -0
  657. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/transformations/__init__.py +0 -0
  658. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/transformations/constants.py +0 -0
  659. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/transformations/models.py +0 -0
  660. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/transformations/tasks.py +0 -0
  661. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/trigger/__init__.py +0 -0
  662. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/trigger/catalogue.py +0 -0
  663. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/trigger/constants.py +0 -0
  664. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/trigger/models.py +0 -0
  665. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/trigger/setup.py +0 -0
  666. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/trigger/tasks.py +0 -0
  667. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/utils.py +0 -0
  668. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/validators/__init__.py +0 -0
  669. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/validators/events.py +0 -0
  670. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/validators/tasks.py +0 -0
  671. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/visuals.py +0 -0
  672. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/webhook/__init__.py +0 -0
  673. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/webhook/gather.py +0 -0
  674. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/webhook/models.py +0 -0
  675. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/webhook/tasks.py +0 -0
  676. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/webhook/triggers.py +0 -0
  677. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/worker.py +0 -0
  678. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/workers/__init__.py +0 -0
  679. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/workers/infrahub_async.py +0 -0
  680. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/workers/utils.py +0 -0
  681. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/workflows/__init__.py +0 -0
  682. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/workflows/catalogue.py +0 -0
  683. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/workflows/constants.py +0 -0
  684. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/workflows/initialization.py +0 -0
  685. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/workflows/models.py +0 -0
  686. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/backend/infrahub/workflows/utils.py +0 -0
  687. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/__init__.py +0 -0
  688. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/_importer.py +0 -0
  689. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/analyzer.py +0 -0
  690. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/async_typer.py +0 -0
  691. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/batch.py +0 -0
  692. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/branch.py +0 -0
  693. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/checks.py +0 -0
  694. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/config.py +0 -0
  695. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/constants.py +0 -0
  696. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/context.py +0 -0
  697. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/ctl/__init__.py +0 -0
  698. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/ctl/branch.py +0 -0
  699. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/ctl/check.py +0 -0
  700. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/ctl/cli.py +0 -0
  701. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/ctl/cli_commands.py +0 -0
  702. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/ctl/client.py +0 -0
  703. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/ctl/config.py +0 -0
  704. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/ctl/exceptions.py +0 -0
  705. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/ctl/exporter.py +0 -0
  706. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/ctl/generator.py +0 -0
  707. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/ctl/importer.py +0 -0
  708. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/ctl/menu.py +0 -0
  709. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/ctl/object.py +0 -0
  710. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/ctl/parameters.py +0 -0
  711. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/ctl/render.py +0 -0
  712. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/ctl/repository.py +0 -0
  713. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/ctl/schema.py +0 -0
  714. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/ctl/transform.py +0 -0
  715. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/ctl/utils.py +0 -0
  716. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/ctl/validate.py +0 -0
  717. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/data.py +0 -0
  718. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/diff.py +0 -0
  719. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/exceptions.py +0 -0
  720. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/generator.py +0 -0
  721. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/graphql.py +0 -0
  722. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/groups.py +0 -0
  723. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/jinja2.py +0 -0
  724. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/object_store.py +0 -0
  725. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/operation.py +0 -0
  726. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/playback.py +0 -0
  727. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/protocols_generator/__init__.py +0 -0
  728. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/protocols_generator/constants.py +0 -0
  729. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/protocols_generator/generator.py +0 -0
  730. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/protocols_generator/template.j2 +0 -0
  731. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/pytest_plugin/__init__.py +0 -0
  732. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/pytest_plugin/exceptions.py +0 -0
  733. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/pytest_plugin/items/__init__.py +0 -0
  734. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/pytest_plugin/items/base.py +0 -0
  735. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/pytest_plugin/items/check.py +0 -0
  736. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/pytest_plugin/items/graphql_query.py +0 -0
  737. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/pytest_plugin/items/jinja2_transform.py +0 -0
  738. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/pytest_plugin/items/python_transform.py +0 -0
  739. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/pytest_plugin/loader.py +0 -0
  740. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/pytest_plugin/models.py +0 -0
  741. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/pytest_plugin/plugin.py +0 -0
  742. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/pytest_plugin/utils.py +0 -0
  743. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/queries.py +0 -0
  744. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/recorder.py +0 -0
  745. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/repository.py +0 -0
  746. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/schema/__init__.py +0 -0
  747. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/spec/__init__.py +0 -0
  748. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/spec/menu.py +0 -0
  749. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/task/__init__.py +0 -0
  750. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/task/constants.py +0 -0
  751. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/task/exceptions.py +0 -0
  752. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/task/manager.py +0 -0
  753. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/task/models.py +0 -0
  754. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/template/__init__.py +0 -0
  755. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/template/exceptions.py +0 -0
  756. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/template/filters.py +0 -0
  757. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/template/models.py +0 -0
  758. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/testing/__init__.py +0 -0
  759. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/testing/docker.py +0 -0
  760. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/testing/repository.py +0 -0
  761. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/testing/schemas/__init__.py +0 -0
  762. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/testing/schemas/animal.py +0 -0
  763. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/timestamp.py +0 -0
  764. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/topological_sort.py +0 -0
  765. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/transfer/__init__.py +0 -0
  766. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/transfer/constants.py +0 -0
  767. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/transfer/exceptions.py +0 -0
  768. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/transfer/exporter/__init__.py +0 -0
  769. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/transfer/exporter/interface.py +0 -0
  770. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/transfer/exporter/json.py +0 -0
  771. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/transfer/importer/__init__.py +0 -0
  772. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/transfer/importer/interface.py +0 -0
  773. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/transfer/importer/json.py +0 -0
  774. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/transfer/schema_sorter.py +0 -0
  775. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/transforms.py +0 -0
  776. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/types.py +0 -0
  777. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/utils.py +0 -0
  778. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/uuidt.py +0 -0
  779. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_sdk/infrahub_sdk/yaml.py +0 -0
  780. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_testcontainers/infrahub_testcontainers/__init__.py +0 -0
  781. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_testcontainers/infrahub_testcontainers/constants.py +0 -0
  782. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_testcontainers/infrahub_testcontainers/container.py +0 -0
  783. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_testcontainers/infrahub_testcontainers/docker-compose.test.yml +0 -0
  784. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_testcontainers/infrahub_testcontainers/haproxy.cfg +0 -0
  785. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_testcontainers/infrahub_testcontainers/helpers.py +0 -0
  786. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_testcontainers/infrahub_testcontainers/host.py +0 -0
  787. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_testcontainers/infrahub_testcontainers/measurements.py +0 -0
  788. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_testcontainers/infrahub_testcontainers/models.py +0 -0
  789. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_testcontainers/infrahub_testcontainers/performance_test.py +0 -0
  790. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_testcontainers/infrahub_testcontainers/plugin.py +0 -0
  791. {infrahub_server-1.3.0a0 → infrahub_server-1.3.0b1}/python_testcontainers/infrahub_testcontainers/prometheus.yml +0 -0
@@ -1,8 +1,7 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: infrahub-server
3
- Version: 1.3.0a0
3
+ Version: 1.3.0b1
4
4
  Summary: Infrahub is taking a new approach to Infrastructure Management by providing a new generation of datastore to organize and control all the data that defines how an infrastructure should run.
5
- Home-page: https://opsmill.com
6
5
  License: AGPL-3.0-only
7
6
  Author: OpsMill
8
7
  Author-email: info@opsmill.com
@@ -58,6 +57,7 @@ Requires-Dist: ujson (>=5,<6)
58
57
  Requires-Dist: uvicorn[standard] (>=0.32,<0.33)
59
58
  Requires-Dist: whenever (==0.7.2)
60
59
  Project-URL: Documentation, https://docs.infrahub.app/
60
+ Project-URL: Homepage, https://opsmill.com
61
61
  Project-URL: Repository, https://github.com/opsmill/infrahub
62
62
  Description-Content-Type: text/markdown
63
63
 
@@ -93,8 +93,8 @@ class BaseAttribute(FlagPropertyMixin, NodePropertyMixin):
93
93
  updated_at: Timestamp | str | None = None,
94
94
  is_default: bool = False,
95
95
  is_from_profile: bool = False,
96
- **kwargs,
97
- ):
96
+ **kwargs: dict[str, Any],
97
+ ) -> None:
98
98
  self.id = id
99
99
  self.db_id = db_id
100
100
 
@@ -169,7 +169,7 @@ class BaseAttribute(FlagPropertyMixin, NodePropertyMixin):
169
169
  return self.branch
170
170
 
171
171
  @classmethod
172
- def __init_subclass__(cls, **kwargs) -> None:
172
+ def __init_subclass__(cls, **kwargs: dict[str, Any]) -> None:
173
173
  super().__init_subclass__(**kwargs)
174
174
  registry.attribute[cls.__name__] = cls
175
175
 
@@ -146,6 +146,11 @@ class AllowOverrideType(InfrahubStringEnum):
146
146
  ANY = "any"
147
147
 
148
148
 
149
+ class RepositoryObjects(InfrahubStringEnum):
150
+ OBJECT = "object"
151
+ MENU = "menu"
152
+
153
+
149
154
  class ContentType(InfrahubStringEnum):
150
155
  APPLICATION_JSON = "application/json"
151
156
  APPLICATION_YAML = "application/yaml"
@@ -58,6 +58,7 @@ PROFILE = "CoreProfile"
58
58
  PROPOSEDCHANGE = "CoreProposedChange"
59
59
  REFRESHTOKEN = "InternalRefreshToken"
60
60
  REPOSITORY = "CoreRepository"
61
+ REPOSITORYGROUP = "CoreRepositoryGroup"
61
62
  RESOURCEPOOL = "CoreResourcePool"
62
63
  GENERICREPOSITORY = "CoreGenericRepository"
63
64
  READONLYREPOSITORY = "CoreReadOnlyRepository"
@@ -78,3 +79,4 @@ TRIGGERRULE = "CoreTriggerRule"
78
79
  USERVALIDATOR = "CoreUserValidator"
79
80
  VALIDATOR = "CoreValidator"
80
81
  WEBHOOK = "CoreWebhook"
82
+ WEIGHTED_POOL_RESOURCE = "CoreWeightedPoolResource"
@@ -55,7 +55,6 @@ class AttributeRenameQuery(Query):
55
55
  @staticmethod
56
56
  def _render_sub_query_per_rel_type_update_active(rel_type: str, rel_def: FieldInfo) -> str:
57
57
  subquery = [
58
- "WITH peer_node, rb, active_attr",
59
58
  "WITH peer_node, rb, active_attr",
60
59
  f'WHERE type(rb) = "{rel_type}"',
61
60
  ]
@@ -72,7 +71,6 @@ class AttributeRenameQuery(Query):
72
71
  @staticmethod
73
72
  def _render_sub_query_per_rel_type_create_new(rel_type: str, rel_def: FieldInfo) -> str:
74
73
  subquery = [
75
- "WITH peer_node, rb, active_attr, new_attr",
76
74
  "WITH peer_node, rb, active_attr, new_attr",
77
75
  f'WHERE type(rb) = "{rel_type}"',
78
76
  ]
@@ -158,7 +156,7 @@ class AttributeRenameQuery(Query):
158
156
  }
159
157
  WITH a1 as active_attr, r1 as rb, p1 as peer_node, new_attr
160
158
  WHERE rb.status = "active"
161
- CALL {
159
+ CALL (peer_node, rb, active_attr, new_attr){
162
160
  %(sub_query_create_all)s
163
161
  }
164
162
  WITH p2 as peer_node, rb, new_attr, active_attr
@@ -167,7 +165,7 @@ class AttributeRenameQuery(Query):
167
165
 
168
166
  if not (self.branch.is_default or self.branch.is_global):
169
167
  query = """
170
- CALL {
168
+ CALL (peer_node, rb, active_attr) {
171
169
  %(sub_query_update_all)s
172
170
  }
173
171
  WITH p2 as peer_node, rb, new_attr
@@ -55,7 +55,6 @@ class DeleteElementInSchemaQuery(Query):
55
55
  @staticmethod
56
56
  def _render_sub_query_per_rel_type(rel_name: str, rel_type: str, direction: GraphRelDirection) -> str:
57
57
  subquery = [
58
- f"WITH peer_node, {rel_name}, element_to_delete",
59
58
  f"WITH peer_node, {rel_name}, element_to_delete",
60
59
  f'WHERE type({rel_name}) = "{rel_type}"',
61
60
  ]
@@ -67,28 +66,32 @@ class DeleteElementInSchemaQuery(Query):
67
66
  return "\n".join(subquery)
68
67
 
69
68
  @classmethod
70
- def _render_sub_query_out(cls) -> str:
69
+ def _render_sub_query_out(cls) -> tuple[str, str]:
70
+ rel_name = "rel_outband"
71
+ sub_query_out_args = f"peer_node, {rel_name}, element_to_delete"
71
72
  sub_queries_out = [
72
73
  cls._render_sub_query_per_rel_type(
73
- rel_name="rel_outband", rel_type=rel_type, direction=GraphRelDirection.OUTBOUND
74
+ rel_name=rel_name, rel_type=rel_type, direction=GraphRelDirection.OUTBOUND
74
75
  )
75
76
  for rel_type, rel_def in GraphNodeRelationships.model_fields.items()
76
77
  if rel_def.default.direction in [GraphRelDirection.OUTBOUND, GraphRelDirection.EITHER]
77
78
  ]
78
79
  sub_query_out = "\nUNION\n".join(sub_queries_out)
79
- return sub_query_out
80
+ return sub_query_out, sub_query_out_args
80
81
 
81
82
  @classmethod
82
- def _render_sub_query_in(cls) -> str:
83
+ def _render_sub_query_in(cls) -> tuple[str, str]:
84
+ rel_name = "rel_inband"
85
+ sub_query_in_args = f"peer_node, {rel_name}, element_to_delete"
83
86
  sub_queries_in = [
84
87
  cls._render_sub_query_per_rel_type(
85
- rel_name="rel_inband", rel_type=rel_type, direction=GraphRelDirection.INBOUND
88
+ rel_name=rel_name, rel_type=rel_type, direction=GraphRelDirection.INBOUND
86
89
  )
87
90
  for rel_type, rel_def in GraphNodeRelationships.model_fields.items()
88
91
  if rel_def.default.direction in [GraphRelDirection.INBOUND, GraphRelDirection.EITHER]
89
92
  ]
90
93
  sub_query_in = "\nUNION\n".join(sub_queries_in)
91
- return sub_query_in
94
+ return sub_query_in, sub_query_in_args
92
95
 
93
96
  async def query_init(self, db: InfrahubDatabase, **kwargs: dict[str, Any]) -> None: # noqa: ARG002
94
97
  branch_filter, branch_params = self.branch.get_query_filter_path(at=self.at.to_string())
@@ -108,8 +111,8 @@ class DeleteElementInSchemaQuery(Query):
108
111
  "from": self.at.to_string(),
109
112
  }
110
113
 
111
- sub_query_out = self._render_sub_query_out()
112
- sub_query_in = self._render_sub_query_in()
114
+ sub_query_out, sub_query_out_args = self._render_sub_query_out()
115
+ sub_query_in, sub_query_in_args = self._render_sub_query_in()
113
116
 
114
117
  self.add_to_query(self.render_match())
115
118
  self.add_to_query(self.render_where())
@@ -138,7 +141,7 @@ class DeleteElementInSchemaQuery(Query):
138
141
  }
139
142
  WITH n1 as element_to_delete, rel_outband1 as rel_outband, p1 as peer_node
140
143
  WHERE rel_outband.status = "active"
141
- CALL {
144
+ CALL (%(sub_query_out_args)s) {
142
145
  %(sub_query_out)s
143
146
  }
144
147
  WITH p2 as peer_node, rel_outband, element_to_delete
@@ -157,7 +160,7 @@ class DeleteElementInSchemaQuery(Query):
157
160
  }
158
161
  WITH n1 as element_to_delete, rel_inband1 as rel_inband, p1 as peer_node
159
162
  WHERE rel_inband.status = "active"
160
- CALL {
163
+ CALL (%(sub_query_in_args)s) {
161
164
  %(sub_query_in)s
162
165
  }
163
166
  WITH p2 as peer_node, rel_inband, element_to_delete
@@ -169,5 +172,7 @@ class DeleteElementInSchemaQuery(Query):
169
172
  "branch_filter": branch_filter,
170
173
  "sub_query_out": sub_query_out,
171
174
  "sub_query_in": sub_query_in,
175
+ "sub_query_out_args": sub_query_out_args,
176
+ "sub_query_in_args": sub_query_in_args,
172
177
  }
173
178
  self.add_to_query(query)
@@ -47,7 +47,6 @@ class NodeDuplicateQuery(Query):
47
47
  @staticmethod
48
48
  def _render_sub_query_per_rel_type(rel_name: str, rel_type: str, rel_dir: GraphRelDirection) -> str:
49
49
  subquery = [
50
- f"WITH peer_node, {rel_name}, active_node, new_node",
51
50
  f"WITH peer_node, {rel_name}, active_node, new_node",
52
51
  f'WHERE type({rel_name}) = "{rel_type}"',
53
52
  ]
@@ -81,28 +80,28 @@ class NodeDuplicateQuery(Query):
81
80
  return "\n".join(subquery)
82
81
 
83
82
  @classmethod
84
- def _render_sub_query_out(cls) -> str:
83
+ def _render_sub_query_out(cls) -> tuple[str, str]:
84
+ rel_name = "rel_outband"
85
+ sub_query_out_args = f"peer_node, {rel_name}, active_node, new_node"
85
86
  sub_queries_out = [
86
- cls._render_sub_query_per_rel_type(
87
- rel_name="rel_outband", rel_type=rel_type, rel_dir=GraphRelDirection.OUTBOUND
88
- )
87
+ cls._render_sub_query_per_rel_type(rel_name=rel_name, rel_type=rel_type, rel_dir=GraphRelDirection.OUTBOUND)
89
88
  for rel_type, field_info in GraphNodeRelationships.model_fields.items()
90
89
  if field_info.default.direction in (GraphRelDirection.OUTBOUND, GraphRelDirection.EITHER)
91
90
  ]
92
91
  sub_query_out = "\nUNION\n".join(sub_queries_out)
93
- return sub_query_out
92
+ return sub_query_out, sub_query_out_args
94
93
 
95
94
  @classmethod
96
- def _render_sub_query_in(cls) -> str:
95
+ def _render_sub_query_in(cls) -> tuple[str, str]:
96
+ rel_name = "rel_inband"
97
+ sub_query_in_args = f"peer_node, {rel_name}, active_node, new_node"
97
98
  sub_queries_in = [
98
- cls._render_sub_query_per_rel_type(
99
- rel_name="rel_inband", rel_type=rel_type, rel_dir=GraphRelDirection.INBOUND
100
- )
99
+ cls._render_sub_query_per_rel_type(rel_name=rel_name, rel_type=rel_type, rel_dir=GraphRelDirection.INBOUND)
101
100
  for rel_type, field_info in GraphNodeRelationships.model_fields.items()
102
101
  if field_info.default.direction in (GraphRelDirection.INBOUND, GraphRelDirection.EITHER)
103
102
  ]
104
103
  sub_query_in = "\nUNION\n".join(sub_queries_in)
105
- return sub_query_in
104
+ return sub_query_in, sub_query_in_args
106
105
 
107
106
  async def query_init(self, db: InfrahubDatabase, **kwargs: dict[str, Any]) -> None: # noqa: ARG002
108
107
  branch_filter, branch_params = self.branch.get_query_filter_path(at=self.at.to_string())
@@ -126,8 +125,8 @@ class NodeDuplicateQuery(Query):
126
125
  "from": self.at.to_string(),
127
126
  }
128
127
 
129
- sub_query_out = self._render_sub_query_out()
130
- sub_query_in = self._render_sub_query_in()
128
+ sub_query_out, sub_query_out_args = self._render_sub_query_out()
129
+ sub_query_in, sub_query_in_args = self._render_sub_query_in()
131
130
 
132
131
  self.add_to_query(self.render_match())
133
132
 
@@ -155,7 +154,7 @@ class NodeDuplicateQuery(Query):
155
154
  }
156
155
  WITH n1 as active_node, rel_outband1 as rel_outband, p1 as peer_node, new_node
157
156
  WHERE rel_outband.status = "active" AND rel_outband.to IS NULL
158
- CALL {
157
+ CALL (%(sub_query_out_args)s) {
159
158
  %(sub_query_out)s
160
159
  }
161
160
  WITH p2 as peer_node, rel_outband, active_node, new_node
@@ -174,7 +173,7 @@ class NodeDuplicateQuery(Query):
174
173
  }
175
174
  WITH n1 as active_node, rel_inband1 as rel_inband, p1 as peer_node, new_node
176
175
  WHERE rel_inband.status = "active" AND rel_inband.to IS NULL
177
- CALL {
176
+ CALL (%(sub_query_in_args)s) {
178
177
  %(sub_query_in)s
179
178
  }
180
179
  WITH p2 as peer_node, rel_inband, active_node, new_node
@@ -188,5 +187,7 @@ class NodeDuplicateQuery(Query):
188
187
  "labels": ":".join(self.new_node.labels),
189
188
  "sub_query_out": sub_query_out,
190
189
  "sub_query_in": sub_query_in,
190
+ "sub_query_out_args": sub_query_out_args,
191
+ "sub_query_in_args": sub_query_in_args,
191
192
  }
192
193
  self.add_to_query(query)
@@ -47,7 +47,6 @@ class RelationshipDuplicateQuery(Query):
47
47
  @staticmethod
48
48
  def _render_sub_query_per_rel_type(rel_name: str, rel_type: str, direction: GraphRelDirection) -> str:
49
49
  subquery = [
50
- f"WITH peer_node, {rel_name}, active_rel, new_rel",
51
50
  f"WITH peer_node, {rel_name}, active_rel, new_rel",
52
51
  f'WHERE type({rel_name}) = "{rel_type}"',
53
52
  ]
@@ -61,28 +60,32 @@ class RelationshipDuplicateQuery(Query):
61
60
  return "\n".join(subquery)
62
61
 
63
62
  @classmethod
64
- def _render_sub_query_out(cls) -> str:
63
+ def _render_sub_query_out(cls) -> tuple[str, str]:
64
+ rel_name = "rel_outband"
65
+ sub_query_out_args = f"peer_node, {rel_name}, active_rel, new_rel"
65
66
  sub_queries_out = [
66
67
  cls._render_sub_query_per_rel_type(
67
- rel_name="rel_outband", rel_type=rel_type, direction=GraphRelDirection.OUTBOUND
68
+ rel_name=rel_name, rel_type=rel_type, direction=GraphRelDirection.OUTBOUND
68
69
  )
69
70
  for rel_type, rel_def in GraphRelationshipRelationships.model_fields.items()
70
71
  if rel_def.default.direction in [GraphRelDirection.OUTBOUND, GraphRelDirection.EITHER]
71
72
  ]
72
73
  sub_query_out = "\nUNION\n".join(sub_queries_out)
73
- return sub_query_out
74
+ return sub_query_out, sub_query_out_args
74
75
 
75
76
  @classmethod
76
- def _render_sub_query_in(cls) -> str:
77
+ def _render_sub_query_in(cls) -> tuple[str, str]:
78
+ rel_name = "rel_inband"
79
+ sub_query_in_args = f"peer_node, {rel_name}, active_rel, new_rel"
77
80
  sub_queries_in = [
78
81
  cls._render_sub_query_per_rel_type(
79
- rel_name="rel_inband", rel_type=rel_type, direction=GraphRelDirection.INBOUND
82
+ rel_name=rel_name, rel_type=rel_type, direction=GraphRelDirection.INBOUND
80
83
  )
81
84
  for rel_type, rel_def in GraphRelationshipRelationships.model_fields.items()
82
85
  if rel_def.default.direction in [GraphRelDirection.INBOUND, GraphRelDirection.EITHER]
83
86
  ]
84
87
  sub_query_in = "\nUNION\n".join(sub_queries_in)
85
- return sub_query_in
88
+ return sub_query_in, sub_query_in_args
86
89
 
87
90
  async def query_init(self, db: InfrahubDatabase, **kwargs: dict[str, Any]) -> None: # noqa: ARG002
88
91
  branch_filter, branch_params = self.branch.get_query_filter_path(at=self.at.to_string())
@@ -109,8 +112,8 @@ class RelationshipDuplicateQuery(Query):
109
112
  "from": self.at.to_string(),
110
113
  }
111
114
 
112
- sub_query_out = self._render_sub_query_out()
113
- sub_query_in = self._render_sub_query_in()
115
+ sub_query_out, sub_query_out_args = self._render_sub_query_out()
116
+ sub_query_in, sub_query_in_args = self._render_sub_query_in()
114
117
 
115
118
  self.add_to_query(self.render_match())
116
119
 
@@ -138,7 +141,7 @@ class RelationshipDuplicateQuery(Query):
138
141
  }
139
142
  WITH n1 as active_rel, rel_inband1 as rel_inband, p1 as peer_node, new_rel
140
143
  WHERE rel_inband.status = "active"
141
- CALL {
144
+ CALL (%(sub_query_in_args)s) {
142
145
  %(sub_query_in)s
143
146
  }
144
147
  WITH p2 as peer_node, rel_inband, active_rel, new_rel
@@ -157,7 +160,7 @@ class RelationshipDuplicateQuery(Query):
157
160
  }
158
161
  WITH n1 as active_rel, rel_outband1 as rel_outband, p1 as peer_node, new_rel
159
162
  WHERE rel_outband.status = "active"
160
- CALL {
163
+ CALL (%(sub_query_out_args)s) {
161
164
  %(sub_query_out)s
162
165
  }
163
166
  WITH p2 as peer_node, rel_outband, active_rel, new_rel
@@ -169,5 +172,7 @@ class RelationshipDuplicateQuery(Query):
169
172
  "branch_filter": branch_filter,
170
173
  "sub_query_out": sub_query_out,
171
174
  "sub_query_in": sub_query_in,
175
+ "sub_query_in_args": sub_query_in_args,
176
+ "sub_query_out_args": sub_query_out_args,
172
177
  }
173
178
  self.add_to_query(query)
@@ -50,7 +50,6 @@ class NodeAttributeRemoveMigrationQuery01(AttributeMigrationQuery):
50
50
 
51
51
  def render_sub_query_per_rel_type(rel_type: str, rel_def: FieldInfo) -> str:
52
52
  subquery = [
53
- "WITH peer_node, rb, active_attr",
54
53
  "WITH peer_node, rb, active_attr",
55
54
  f'WHERE type(rb) = "{rel_type}"',
56
55
  ]
@@ -105,7 +104,7 @@ class NodeAttributeRemoveMigrationQuery01(AttributeMigrationQuery):
105
104
  }
106
105
  WITH a1 as active_attr, r1 as rb, p1 as peer_node
107
106
  WHERE rb.status = "active"
108
- CALL {
107
+ CALL (peer_node, rb, active_attr) {
109
108
  %(sub_query_all)s
110
109
  }
111
110
  WITH p2 as peer_node, rb, active_attr
@@ -21,7 +21,6 @@ class NodeRemoveMigrationBaseQuery(MigrationQuery):
21
21
  rel_def: FieldInfo,
22
22
  ) -> str:
23
23
  subquery = [
24
- f"WITH peer_node, {rel_name}, active_node",
25
24
  f"WITH peer_node, {rel_name}, active_node",
26
25
  f'WHERE type({rel_name}) = "{rel_type}"',
27
26
  ]
@@ -90,7 +89,7 @@ class NodeRemoveMigrationQueryIn(NodeRemoveMigrationBaseQuery):
90
89
  insert_return: bool = False
91
90
 
92
91
  def render_node_remove_query(self, branch_filter: str) -> str:
93
- sub_query = self.render_sub_query_in()
92
+ sub_query, sub_query_args = self.render_sub_query_in()
94
93
  query = """
95
94
  // Process Inbound Relationship
96
95
  WITH active_node
@@ -104,27 +103,29 @@ class NodeRemoveMigrationQueryIn(NodeRemoveMigrationBaseQuery):
104
103
  }
105
104
  WITH n1 as active_node, rel_inband1 as rel_inband, p1 as peer_node
106
105
  WHERE rel_inband.status = "active"
107
- CALL {
106
+ CALL (%(sub_query_args)s) {
108
107
  %(sub_query)s
109
108
  }
110
109
  WITH p2 as peer_node, rel_inband, active_node
111
110
  FOREACH (i in CASE WHEN rel_inband.branch IN ["-global-", $branch] THEN [1] ELSE [] END |
112
111
  SET rel_inband.to = $current_time
113
112
  )
114
- """ % {"sub_query": sub_query, "branch_filter": branch_filter}
113
+ """ % {"sub_query": sub_query, "sub_query_args": sub_query_args, "branch_filter": branch_filter}
115
114
  return query
116
115
 
117
- def render_sub_query_in(self) -> str:
116
+ def render_sub_query_in(self) -> tuple[str, str]:
117
+ rel_name = "rel_inband"
118
+ sub_query_in_args = f"peer_node, {rel_name}, active_node"
118
119
  sub_queries_in = [
119
120
  self.render_sub_query_per_rel_type(
120
- rel_name="rel_inband",
121
+ rel_name=rel_name,
121
122
  rel_type=rel_type,
122
123
  rel_def=rel_def,
123
124
  )
124
125
  for rel_type, rel_def in GraphNodeRelationships.model_fields.items()
125
126
  ]
126
127
  sub_query_in = "\nUNION\n".join(sub_queries_in)
127
- return sub_query_in
128
+ return sub_query_in, sub_query_in_args
128
129
 
129
130
  def get_nbr_migrations_executed(self) -> int:
130
131
  return 0
@@ -135,7 +136,7 @@ class NodeRemoveMigrationQueryOut(NodeRemoveMigrationBaseQuery):
135
136
  insert_return: bool = False
136
137
 
137
138
  def render_node_remove_query(self, branch_filter: str) -> str:
138
- sub_query = self.render_sub_query_out()
139
+ sub_query, sub_query_args = self.render_sub_query_out()
139
140
  query = """
140
141
  // Process Outbound Relationship
141
142
  WITH active_node
@@ -149,27 +150,29 @@ class NodeRemoveMigrationQueryOut(NodeRemoveMigrationBaseQuery):
149
150
  }
150
151
  WITH n1 as active_node, rel_outband1 as rel_outband, p1 as peer_node
151
152
  WHERE rel_outband.status = "active"
152
- CALL {
153
+ CALL (%(sub_query_args)s) {
153
154
  %(sub_query)s
154
155
  }
155
156
  FOREACH (i in CASE WHEN rel_outband.branch IN ["-global-", $branch] THEN [1] ELSE [] END |
156
157
  SET rel_outband.to = $current_time
157
158
  )
158
- """ % {"sub_query": sub_query, "branch_filter": branch_filter}
159
+ """ % {"sub_query": sub_query, "sub_query_args": sub_query_args, "branch_filter": branch_filter}
159
160
 
160
161
  return query
161
162
 
162
- def render_sub_query_out(self) -> str:
163
+ def render_sub_query_out(self) -> tuple[str, str]:
164
+ rel_name = "rel_outband"
165
+ sub_query_out_args = f"peer_node, {rel_name}, active_node"
163
166
  sub_queries_out = [
164
167
  self.render_sub_query_per_rel_type(
165
- rel_name="rel_outband",
168
+ rel_name=rel_name,
166
169
  rel_type=rel_type,
167
170
  rel_def=rel_def,
168
171
  )
169
172
  for rel_type, rel_def in GraphNodeRelationships.model_fields.items()
170
173
  ]
171
174
  sub_query_out = "\nUNION\n".join(sub_queries_out)
172
- return sub_query_out
175
+ return sub_query_out, sub_query_out_args
173
176
 
174
177
  def get_nbr_migrations_executed(self) -> int:
175
178
  return self.num_of_results
@@ -30,6 +30,7 @@ from infrahub.core.schema import (
30
30
  RelationshipSchema,
31
31
  TemplateSchema,
32
32
  )
33
+ from infrahub.core.schema.attribute_parameters import NumberPoolParameters
33
34
  from infrahub.core.timestamp import Timestamp
34
35
  from infrahub.exceptions import InitializationError, NodeNotFoundError, PoolExhaustedError, ValidationError
35
36
  from infrahub.types import ATTRIBUTE_TYPES
@@ -254,6 +255,12 @@ class Node(BaseNode, metaclass=BaseNodeMeta):
254
255
  within the create code.
255
256
  """
256
257
 
258
+ number_pool_parameters: NumberPoolParameters | None = None
259
+ if attribute.schema.kind == "NumberPool" and isinstance(attribute.schema.parameters, NumberPoolParameters):
260
+ attribute.from_pool = {"id": attribute.schema.parameters.number_pool_id}
261
+ attribute.is_default = False
262
+ number_pool_parameters = attribute.schema.parameters
263
+
257
264
  if not attribute.from_pool:
258
265
  return
259
266
 
@@ -262,19 +269,25 @@ class Node(BaseNode, metaclass=BaseNodeMeta):
262
269
  db=db, id=attribute.from_pool["id"], kind=CoreNumberPool
263
270
  )
264
271
  except NodeNotFoundError:
265
- errors.append(
266
- ValidationError(
267
- {f"{attribute.name}.from_pool": f"The pool requested {attribute.from_pool} was not found."}
272
+ if number_pool_parameters:
273
+ number_pool = await self._create_number_pool(
274
+ db=db, attribute=attribute, number_pool_parameters=number_pool_parameters
268
275
  )
269
- )
270
- return
276
+
277
+ else:
278
+ errors.append(
279
+ ValidationError(
280
+ {f"{attribute.name}.from_pool": f"The pool requested {attribute.from_pool} was not found."}
281
+ )
282
+ )
283
+ return
271
284
 
272
285
  if (
273
286
  number_pool.node.value in [self._schema.kind] + self._schema.inherit_from
274
287
  and number_pool.node_attribute.value == attribute.name
275
288
  ):
276
289
  try:
277
- next_free = await number_pool.get_resource(db=db, branch=self._branch, node=self)
290
+ next_free = await number_pool.get_resource(db=db, branch=self._branch, node=self, attribute=attribute)
278
291
  except PoolExhaustedError:
279
292
  errors.append(
280
293
  ValidationError({f"{attribute.name}.from_pool": f"The pool {number_pool.node.value} is exhausted."})
@@ -292,6 +305,35 @@ class Node(BaseNode, metaclass=BaseNodeMeta):
292
305
  )
293
306
  )
294
307
 
308
+ async def _create_number_pool(
309
+ self, db: InfrahubDatabase, attribute: BaseAttribute, number_pool_parameters: NumberPoolParameters
310
+ ) -> CoreNumberPool:
311
+ schema = db.schema.get_node_schema(name="CoreNumberPool", duplicate=False)
312
+
313
+ pool_node = self._schema.kind
314
+ schema_attribute = self._schema.get_attribute(attribute.schema.name)
315
+ if schema_attribute.inherited:
316
+ for generic_name in self._schema.inherit_from:
317
+ generic_node = db.schema.get_generic_schema(name=generic_name, duplicate=False)
318
+ if attribute.schema.name in generic_node.attribute_names:
319
+ pool_node = generic_node.kind
320
+ break
321
+
322
+ number_pool = await Node.init(db=db, schema=schema, branch=self._branch)
323
+ await number_pool.new(
324
+ db=db,
325
+ id=number_pool_parameters.number_pool_id,
326
+ name=f"{pool_node}.{attribute.schema.name} [{number_pool_parameters.number_pool_id}]",
327
+ node=pool_node,
328
+ node_attribute=attribute.schema.name,
329
+ start_range=number_pool_parameters.start_range,
330
+ end_range=number_pool_parameters.end_range,
331
+ )
332
+ await number_pool.save(db=db)
333
+ # Do a lookup of the number pool to get the correct mapped type from the registry
334
+ # without this we don't get access to the .get_resource() method.
335
+ return await registry.manager.get_one_by_id_or_default_filter(db=db, id=number_pool.id, kind=CoreNumberPool)
336
+
295
337
  async def handle_object_template(self, fields: dict, db: InfrahubDatabase, errors: list) -> None:
296
338
  """Fill the `fields` parameters with values from an object template if one is in use."""
297
339
  object_template_field = fields.get(OBJECT_TEMPLATE_RELATIONSHIP_NAME)
@@ -376,6 +418,9 @@ class Node(BaseNode, metaclass=BaseNodeMeta):
376
418
  self._computed_jinja2_attributes.append(mandatory_attr)
377
419
  continue
378
420
 
421
+ if mandatory_attribute.kind == "NumberPool":
422
+ continue
423
+
379
424
  errors.append(
380
425
  ValidationError({mandatory_attr: f"{mandatory_attr} is mandatory for {self.get_kind()}"})
381
426
  )
@@ -392,6 +437,21 @@ class Node(BaseNode, metaclass=BaseNodeMeta):
392
437
  # -------------------------------------------
393
438
  # Generate Attribute and Relationship and assign them
394
439
  # -------------------------------------------
440
+ errors.extend(await self._process_fields_relationships(fields=fields, db=db))
441
+ errors.extend(await self._process_fields_attributes(fields=fields, db=db))
442
+
443
+ if errors:
444
+ raise ValidationError(errors)
445
+
446
+ # Check if any post processor have been defined
447
+ # A processor can be used for example to assigne a default value
448
+ for name in self._attributes + self._relationships:
449
+ if hasattr(self, f"process_{name}"):
450
+ await getattr(self, f"process_{name}")(db=db)
451
+
452
+ async def _process_fields_relationships(self, fields: dict, db: InfrahubDatabase) -> list[ValidationError]:
453
+ errors: list[ValidationError] = []
454
+
395
455
  for rel_schema in self._schema.relationships:
396
456
  self._relationships.append(rel_schema.name)
397
457
 
@@ -413,6 +473,11 @@ class Node(BaseNode, metaclass=BaseNodeMeta):
413
473
  except ValidationError as exc:
414
474
  errors.append(exc)
415
475
 
476
+ return errors
477
+
478
+ async def _process_fields_attributes(self, fields: dict, db: InfrahubDatabase) -> list[ValidationError]:
479
+ errors: list[ValidationError] = []
480
+
416
481
  for attr_schema in self._schema.attributes:
417
482
  self._attributes.append(attr_schema.name)
418
483
  if not self._existing and attr_schema.name in self._computed_jinja2_attributes:
@@ -441,14 +506,7 @@ class Node(BaseNode, metaclass=BaseNodeMeta):
441
506
  except ValidationError as exc:
442
507
  errors.append(exc)
443
508
 
444
- if errors:
445
- raise ValidationError(errors)
446
-
447
- # Check if any post processor have been defined
448
- # A processor can be used for example to assigne a default value
449
- for name in self._attributes + self._relationships:
450
- if hasattr(self, f"process_{name}"):
451
- await getattr(self, f"process_{name}")(db=db)
509
+ return errors
452
510
 
453
511
  async def _process_macros(self, db: InfrahubDatabase) -> None:
454
512
  schema_branch = db.schema.get_schema_branch(self._branch.name)
@@ -81,11 +81,15 @@ class CoreIPAddressPool(Node):
81
81
  return node
82
82
 
83
83
  async def get_next(self, db: InfrahubDatabase, prefixlen: int | None = None) -> IPAddressType:
84
- # Measure utilization of all prefixes identified as resources
85
84
  resources = await self.resources.get_peers(db=db) # type: ignore[attr-defined]
86
85
  ip_namespace = await self.ip_namespace.get_peer(db=db) # type: ignore[attr-defined]
87
86
 
88
- for resource in resources.values():
87
+ try:
88
+ weighted_resources = sorted(resources.values(), key=lambda r: r.allocation_weight.value or 0, reverse=True)
89
+ except AttributeError:
90
+ weighted_resources = list(resources.values())
91
+
92
+ for resource in weighted_resources:
89
93
  ip_prefix = ipaddress.ip_network(resource.prefix.value) # type: ignore[attr-defined]
90
94
  prefix_length = prefixlen or ip_prefix.prefixlen
91
95
 
@@ -88,11 +88,15 @@ class CoreIPPrefixPool(Node):
88
88
  return node
89
89
 
90
90
  async def get_next(self, db: InfrahubDatabase, prefixlen: int) -> IPNetworkType:
91
- # Measure utilization of all prefixes identified as resources
92
91
  resources = await self.resources.get_peers(db=db) # type: ignore[attr-defined]
93
92
  ip_namespace = await self.ip_namespace.get_peer(db=db) # type: ignore[attr-defined]
94
93
 
95
- for resource in resources.values():
94
+ try:
95
+ weighted_resources = sorted(resources.values(), key=lambda r: r.allocation_weight.value or 0, reverse=True)
96
+ except AttributeError:
97
+ weighted_resources = list(resources.values())
98
+
99
+ for resource in weighted_resources:
96
100
  subnets = await get_subnets(
97
101
  db=db,
98
102
  ip_prefix=ipaddress.ip_network(resource.prefix.value), # type: ignore[attr-defined]