infrahub-server 1.5.0b2__py3-none-any.whl → 1.5.1__py3-none-any.whl

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 (75) hide show
  1. infrahub/api/dependencies.py +4 -13
  2. infrahub/api/transformation.py +22 -20
  3. infrahub/cli/db.py +87 -65
  4. infrahub/cli/upgrade.py +27 -7
  5. infrahub/core/diff/calculator.py +2 -2
  6. infrahub/core/diff/query/delete_query.py +9 -5
  7. infrahub/core/diff/query/merge.py +39 -23
  8. infrahub/core/graph/__init__.py +1 -1
  9. infrahub/core/migrations/graph/__init__.py +5 -3
  10. infrahub/core/migrations/graph/m037_index_attr_vals.py +11 -30
  11. infrahub/core/migrations/graph/m039_ipam_reconcile.py +9 -7
  12. infrahub/core/migrations/graph/m041_deleted_dup_edges.py +149 -0
  13. infrahub/core/migrations/graph/{m041_profile_attrs_in_db.py → m042_profile_attrs_in_db.py} +10 -8
  14. infrahub/core/migrations/graph/{m042_create_hfid_display_label_in_db.py → m043_create_hfid_display_label_in_db.py} +6 -6
  15. infrahub/core/migrations/graph/{m043_backfill_hfid_display_label_in_db.py → m044_backfill_hfid_display_label_in_db.py} +9 -11
  16. infrahub/core/migrations/shared.py +14 -0
  17. infrahub/core/models.py +2 -2
  18. infrahub/core/node/__init__.py +26 -1
  19. infrahub/core/query/diff.py +61 -16
  20. infrahub/core/query/ipam.py +15 -4
  21. infrahub/core/query/node.py +42 -40
  22. infrahub/core/relationship/model.py +10 -5
  23. infrahub/core/schema/definitions/core/check.py +1 -1
  24. infrahub/core/schema/definitions/core/transform.py +1 -1
  25. infrahub/core/schema/schema_branch_display.py +12 -0
  26. infrahub/core/schema/schema_branch_hfid.py +6 -0
  27. infrahub/core/validators/uniqueness/checker.py +2 -1
  28. infrahub/database/__init__.py +0 -13
  29. infrahub/graphql/analyzer.py +9 -0
  30. infrahub/graphql/mutations/branch.py +5 -0
  31. infrahub/graphql/mutations/proposed_change.py +6 -0
  32. infrahub/message_bus/types.py +1 -0
  33. infrahub/profiles/queries/get_profile_data.py +4 -5
  34. infrahub/proposed_change/tasks.py +43 -9
  35. infrahub_sdk/analyzer.py +1 -1
  36. infrahub_sdk/batch.py +2 -2
  37. infrahub_sdk/branch.py +14 -2
  38. infrahub_sdk/checks.py +1 -1
  39. infrahub_sdk/client.py +2 -4
  40. infrahub_sdk/ctl/branch.py +3 -0
  41. infrahub_sdk/ctl/cli_commands.py +2 -0
  42. infrahub_sdk/ctl/exceptions.py +1 -1
  43. infrahub_sdk/ctl/task.py +110 -0
  44. infrahub_sdk/exceptions.py +18 -18
  45. infrahub_sdk/graphql/query.py +2 -2
  46. infrahub_sdk/node/attribute.py +1 -1
  47. infrahub_sdk/node/property.py +1 -1
  48. infrahub_sdk/node/related_node.py +3 -3
  49. infrahub_sdk/node/relationship.py +4 -6
  50. infrahub_sdk/object_store.py +2 -2
  51. infrahub_sdk/operation.py +1 -1
  52. infrahub_sdk/protocols_generator/generator.py +1 -1
  53. infrahub_sdk/pytest_plugin/exceptions.py +9 -9
  54. infrahub_sdk/pytest_plugin/items/base.py +1 -1
  55. infrahub_sdk/pytest_plugin/items/check.py +1 -1
  56. infrahub_sdk/pytest_plugin/items/python_transform.py +1 -1
  57. infrahub_sdk/repository.py +1 -1
  58. infrahub_sdk/schema/__init__.py +1 -1
  59. infrahub_sdk/spec/object.py +7 -3
  60. infrahub_sdk/task/exceptions.py +4 -4
  61. infrahub_sdk/task/manager.py +2 -2
  62. infrahub_sdk/task/models.py +6 -4
  63. infrahub_sdk/timestamp.py +1 -1
  64. infrahub_sdk/transfer/exporter/json.py +1 -1
  65. infrahub_sdk/transfer/importer/json.py +1 -1
  66. infrahub_sdk/transforms.py +1 -1
  67. {infrahub_server-1.5.0b2.dist-info → infrahub_server-1.5.1.dist-info}/METADATA +2 -2
  68. {infrahub_server-1.5.0b2.dist-info → infrahub_server-1.5.1.dist-info}/RECORD +75 -73
  69. infrahub_testcontainers/container.py +31 -5
  70. infrahub_testcontainers/helpers.py +19 -4
  71. infrahub_testcontainers/models.py +8 -6
  72. infrahub_testcontainers/performance_test.py +6 -4
  73. {infrahub_server-1.5.0b2.dist-info → infrahub_server-1.5.1.dist-info}/LICENSE.txt +0 -0
  74. {infrahub_server-1.5.0b2.dist-info → infrahub_server-1.5.1.dist-info}/WHEEL +0 -0
  75. {infrahub_server-1.5.0b2.dist-info → infrahub_server-1.5.1.dist-info}/entry_points.txt +0 -0