Skip to content

Commit

Permalink
Bumpversion to 1.3.5rc1 (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjeerddie authored Oct 28, 2023
1 parent d4bd5d6 commit 303a96a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.3.4
current_version = 1.3.5rc1
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(rc(?P<build>\d+))?
Expand Down
2 changes: 1 addition & 1 deletion orchestrator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

"""This is the orchestrator workflow engine."""

__version__ = "1.3.4"
__version__ = "1.3.5rc1"

from orchestrator.app import OrchestratorCore
from orchestrator.settings import app_settings, oauth2_settings
Expand Down
4 changes: 2 additions & 2 deletions orchestrator/services/subscriptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ def _generate_etag(model: dict) -> str:
return md5(encoded).hexdigest() # noqa: S303, S324


def convert_subscription_instance(obj: Any) -> dict[str, str]:
def convert_to_in_use_by_relation(obj: Any) -> dict[str, str]:
return {"subscription_instance_id": str(obj.subscription_instance_id), "subscription_id": str(obj.subscription_id)}


Expand All @@ -598,7 +598,7 @@ def inject_in_use_by_ids(path_to_block: str) -> None:
return

in_use_by_ids = [obj.in_use_by_id for obj in in_use_by_subs.col]
in_use_by_relations = [convert_subscription_instance(instance) for instance in in_use_by_subs]
in_use_by_relations = [convert_to_in_use_by_relation(instance) for instance in in_use_by_subs]
update_in(subscription, f"{path_to_block}.in_use_by_ids", in_use_by_ids)
update_in(subscription, f"{path_to_block}.in_use_by_relations", in_use_by_relations)

Expand Down

0 comments on commit 303a96a

Please sign in to comment.