We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b6a692 commit ca9c601Copy full SHA for ca9c601
ads/jobs/builders/infrastructure/dataflow.py
@@ -803,7 +803,9 @@ def with_defined_tag(self, **kwargs) -> "DataFlow":
803
return self.set_spec(self.CONST_DEFINED_TAGS, kwargs)
804
805
def __getattr__(self, item):
806
- if f"with_{item}" in self.__dir__() or (item == self.CONST_DEFINED_TAGS or self.CONST_FREEFORM_TAGS):
+ if item == (self.CONST_DEFINED_TAGS or self.CONST_FREEFORM_TAGS):
807
+ return self.get_spec(item)
808
+ elif f"with_{item}" in self.__dir__() and item != ("defined_tag" or "freeform_tag"):
809
return self.get_spec(item)
810
raise AttributeError(f"Attribute {item} not found.")
811
0 commit comments