Rework LSO interaction
All threads resolved!
All threads resolved!
Automatically skip a playbook execution if the inventory is empty to prevent hangs.
Merge request reports
Activity
requested review from @mohammad.torkashvand
assigned to @Aleksandr.Kurbatov
- Resolved by Mohammad Torkashvand
That's a great refactor, Karel. However, I was thinking about making this type in our code
class LSODict(TypedDict): playbook_name: str inventory: Dict[str, Dict[str, Dict[str, Dict[str, None]]]] extra_vars: Dict[str, Any] `
instead of State I am not sure if it is a good idea but it is worth it to try
LSODict can be a better name for sure!
So that the developer knows that this is a special type/State with preserved keys.
Edited by Mohammad Torkashvand
added 1 commit
- 38e5a70f - Introduce an LSOState type, but we can't use it in python 3.12 yet
added 7 commits
-
38e5a70f...5830b45a - 5 commits from branch
develop
- 247c178d - Rework LSO interaction
- 19aaac4f - Introduce an LSOState type, but we can't use it in python 3.12 yet
-
38e5a70f...5830b45a - 5 commits from branch
- Resolved by Mohammad Torkashvand
Please register or sign in to reply