Skip to content

Commit

Permalink
Merge pull request #17 from imubit/add_standard_attributes
Browse files Browse the repository at this point in the history
Add standard attributes
  • Loading branch information
cloud-rocket authored Mar 19, 2024
2 parents e2afdf2 + 59a960c commit 82c3af0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/data_agent/abstract_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ class SupportedOperation:
DELETE_TAG = 10


STANDARD_ATTRIBUTES = {
"Name": {"Type": "str", "Name": "Tag Name"},
"Type": {"Type": "str", "Name": "Data Type"},
"EngUnits": {"Type": "str", "Name": "Eng. Units"},
"Path": {"Type": "str", "Name": "Tag Path"},
"Description": {"Type": "str", "Name": "Description"},
"HasChildren": {"Type": "str", "Name": "HasChildren"},
}


def active_connection(func):
@wraps(func)
def inner(self, *args, **kwargs):
Expand Down

0 comments on commit 82c3af0

Please sign in to comment.