added user profile

This commit is contained in:
ari committed 2022-08-29 12:51:24 -04:00
1 parent caad458b48
commit 95ac286b53
7 files changed
+97 -43

No files matched your search

+6
View File
@@ -15,11 +15,17 @@ class InlineAutomation(NamedTuple):
source_file: Path
automations: list[dict]
def __repr__(self) -> str:
return f"InlineAutomation(configuration_key='{self.configuration_key}', source_file='{self.source_file}')"
class IncludedAutoamtion(NamedTuple):
configuration_key: ConfigurationKey
ref: IncludedYamlDir
def __repr__(self) -> str:
return f"InlineAutomation(configuration_key='{self.configuration_key}', ref='{self.ref}')"
ExtractedAutomation = InlineAutomation | IncludedAutoamtion
AutomationExtractedIter = Iterator[ExtractedAutomation]