Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/sdk/code-reference/query/interpolate.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ parameters = {
"data_security_level": "Security Level",
"data_type": "float", #options:["float", "double", "integer", "string"]
"tag_names": ["tag_1", "tag_2"], #list of tags
"start_date": "2023-01-01", #start_date can be a date in the format "YYYY-MM-DD" or a datetime in the format "YYYY-MM-DDTHH:MM:SS" or specify the timezone offset in the format "YYYY-MM-DDTHH:MM:SS+zzzz"
"end_date": "2023-01-31", #end_date can be a date in the format "YYYY-MM-DD" or a datetime in the format "YYYY-MM-DDTHH:MM:SS" or specify the timezone offset in the format "YYYY-MM-DDTHH:MM:SS+zzzz"
"start_date": "2023-01-01", #start_date can be a date in the format "YYYY-MM-DD" or a datetime in the format "YYYY-MM-DDTHH:MM:SS" or specify the timezone offset in the format "YYYY-MM-DDTHH:MM:SS+zz:zz"
"end_date": "2023-01-31", #end_date can be a date in the format "YYYY-MM-DD" or a datetime in the format "YYYY-MM-DDTHH:MM:SS" or specify the timezone offset in the format "YYYY-MM-DDTHH:MM:SS+zz:zz"
"sample_rate": "1", #numeric input
"sample_unit": "hour", #options: ["second", "minute", "day", "hour"]
"agg_method": "first", #options: ["first", "last", "avg", "min", "max"]
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/code-reference/query/interpolation_at_time.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ parameters = {
"data_security_level": "Security Level",
"data_type": "float", #options:["float", "double", "integer", "string"]
"tag_names": ["tag_1", "tag_2"], #list of tags
"timestamps": ["2023-01-01"] #list of timestamps can be a date in the format "YYYY-MM-DD" or a datetime in the format "YYYY-MM-DDTHH:MM:SS" or specify the timezone offset in the format "YYYY-MM-DDTHH:MM:SS+zzzz"
"timestamps": ["2023-01-01"] #list of timestamps can be a date in the format "YYYY-MM-DD" or a datetime in the format "YYYY-MM-DDTHH:MM:SS" or specify the timezone offset in the format "YYYY-MM-DDTHH:MM:SS+zz:zz"
}
x = interpolation_at_time.get(connection, parameters)
print(x)
Expand Down
4 changes: 2 additions & 2 deletions docs/sdk/code-reference/query/raw.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ parameters = {
"data_security_level": "Security Level",
"data_type": "float", #options:["float", "double", "integer", "string"]
"tag_names": ["tag_1", "tag_2"], #list of tags
"start_date": "2023-01-01", #start_date can be a date in the format "YYYY-MM-DD" or a datetime in the format "YYYY-MM-DDTHH:MM:SS" or specify the timezone offset in the format "YYYY-MM-DDTHH:MM:SS+zzzz"
"end_date": "2023-01-31", #end_date can be a date in the format "YYYY-MM-DD" or a datetime in the format "YYYY-MM-DDTHH:MM:SS" or specify the timezone offset in the format "YYYY-MM-DDTHH:MM:SS+zzzz"
"start_date": "2023-01-01", #start_date can be a date in the format "YYYY-MM-DD" or a datetime in the format "YYYY-MM-DDTHH:MM:SS" or specify the timezone offset in the format "YYYY-MM-DDTHH:MM:SS+zz:zz"
"end_date": "2023-01-31", #end_date can be a date in the format "YYYY-MM-DD" or a datetime in the format "YYYY-MM-DDTHH:MM:SS" or specify the timezone offset in the format "YYYY-MM-DDTHH:MM:SS+zz:zz"
"include_bad_data": True, #options: [True, False]
}
x = raw.get(connection, parameters)
Expand Down
4 changes: 2 additions & 2 deletions docs/sdk/code-reference/query/resample.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ parameters = {
"data_security_level": "Security Level",
"data_type": "float", #options:["float", "double", "integer", "string"]
"tag_names": ["tag_1", "tag_2"], #list of tags
"start_date": "2023-01-01", #start_date can be a date in the format "YYYY-MM-DD" or a datetime in the format "YYYY-MM-DDTHH:MM:SS" or specify the timezone offset in the format "YYYY-MM-DDTHH:MM:SS+zzzz"
"end_date": "2023-01-31", #end_date can be a date in the format "YYYY-MM-DD" or a datetime in the format "YYYY-MM-DDTHH:MM:SS" or specify the timezone offset in the format "YYYY-MM-DDTHH:MM:SS+zzzz"
"start_date": "2023-01-01", #start_date can be a date in the format "YYYY-MM-DD" or a datetime in the format "YYYY-MM-DDTHH:MM:SS" or specify the timezone offset in the format "YYYY-MM-DDTHH:MM:SS+zz:zz"
"end_date": "2023-01-31", #end_date can be a date in the format "YYYY-MM-DD" or a datetime in the format "YYYY-MM-DDTHH:MM:SS" or specify the timezone offset in the format "YYYY-MM-DDTHH:MM:SS+zz:zz"
"sample_rate": "1", #numeric input
"sample_unit": "hour", #options: ["second", "minute", "day", "hour"]
"agg_method": "first", #options: ["first", "last", "avg", "min", "max"]
Expand Down
4 changes: 2 additions & 2 deletions docs/sdk/code-reference/query/time-weighted-average.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ parameters = {
"data_security_level": "Security Level",
"data_type": "float", #options:["float", "double", "integer", "string"]
"tag_names": ["tag_1", "tag_2"], #list of tags
"start_date": "2023-01-01", #start_date can be a date in the format "YYYY-MM-DD" or a datetime in the format "YYYY-MM-DDTHH:MM:SS" or specify the timezone offset in the format "YYYY-MM-DDTHH:MM:SS+zzzz"
"end_date": "2023-01-31", #end_date can be a date in the format "YYYY-MM-DD" or a datetime in the format "YYYY-MM-DDTHH:MM:SS" or specify the timezone offset in the format "YYYY-MM-DDTHH:MM:SS+zzzz"
"start_date": "2023-01-01", #start_date can be a date in the format "YYYY-MM-DD" or a datetime in the format "YYYY-MM-DDTHH:MM:SS" or specify the timezone offset in the format "YYYY-MM-DDTHH:MM:SS+zz:zz"
"end_date": "2023-01-31", #end_date can be a date in the format "YYYY-MM-DD" or a datetime in the format "YYYY-MM-DDTHH:MM:SS" or specify the timezone offset in the format "YYYY-MM-DDTHH:MM:SS+zz:zz"
"window_size_mins": 15, #numeric input
"window_length": 20, #numeric input
"include_bad_data": True, #options: [True, False]
Expand Down
10 changes: 10 additions & 0 deletions docs/sdk/queries/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ The RTDIP SDK enables users to perform complex queries, including aggregation on

- Interpolation Method - Forward Fill or Backward Fill

### Interpolation at Time

[Interpolation at Time](../code-reference/query/interpolation_at_time.md) - works out the linear interpolation at a specific time based on the points before and after. This is achieved by providing the following parameter:

- Timestamps - A list of timestamp or timestamps

### Time Weighted Averages

[Time Weighted Averages](../code-reference/query/time-weighted-average.md) provide an unbiased average when working with irregularly sampled data. The RTDIP SDK requires the following parameters to perform time weighted average queries:
Expand All @@ -45,6 +51,7 @@ The RTDIP SDK enables users to perform complex queries, including aggregation on
```python
from rtdip_sdk.functions import resample
from rtdip_sdk.functions import interpolate
from rtdip_sdk.functions import interpolation_at_time
from rtdip_sdk.functions import raw
from rtdip_sdk.functions import time_weighted_average
from rtdip_sdk.functions import metadata
Expand All @@ -58,6 +65,9 @@ from rtdip_sdk.functions import metadata
#### Interpolate
interpolate.get(connection, parameters_dict)

#### Interpolation at Time
interpolation_at_time.get(connection, parameters_dict)

#### Raw
raw.get(connection, parameters_dict)

Expand Down
4 changes: 2 additions & 2 deletions src/api/v1/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def common_api_setup_tasks(base_query_parameters, metadata_query_parameters = No

if raw_query_parameters != None:
parameters = dict(parameters, **raw_query_parameters.__dict__)
parameters["start_date"] = str(raw_query_parameters.start_date)
parameters["end_date"] = str(raw_query_parameters.end_date)
parameters["start_date"] = raw_query_parameters.start_date
parameters["end_date"] = raw_query_parameters.end_date

if tag_query_parameters != None:
parameters = dict(parameters, **tag_query_parameters.__dict__)
Expand Down
6 changes: 3 additions & 3 deletions src/api/v1/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ def __init__(
self,
data_type: str = Query(..., description="Data Type"),
include_bad_data: bool = Query(..., description="Include or remove Bad data points"),
start_date: Union[date, datetime] = Query(..., description="Start Date in format YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss or YYYY-MM-DDTHH:mm:ss+zzzz", examples={"2022-01-01": {"value": "2022-01-01"}, "2022-01-01T15:00:00": {"value": "2022-01-01T15:00:00"}, "2022-01-01T15:00:00+0000": {"value": "2022-01-01T15:00:00+0000"}}),
end_date: Union[date, datetime] = Query(..., description="End Date in format YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss or YYYY-MM-DDTHH:mm:ss+zzzz", examples={"2022-01-02": {"value": "2022-01-02"}, "2022-01-01T16:00:00": {"value": "2022-01-01T16:00:00"}, "2022-01-01T15:00:00+0000": {"value": "2022-01-01T15:00:00+0000"}}),
start_date: Union[date, datetime] = Query(..., description="Start Date in format YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss or YYYY-MM-DDTHH:mm:ss+zz:zz", examples={"2022-01-01": {"value": "2022-01-01"}, "2022-01-01T15:00:00": {"value": "2022-01-01T15:00:00"}, "2022-01-01T15:00:00+00:00": {"value": "2022-01-01T15:00:00+00:00"}}),
end_date: Union[date, datetime] = Query(..., description="End Date in format YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss or YYYY-MM-DDTHH:mm:ss+zz:zz", examples={"2022-01-02": {"value": "2022-01-02"}, "2022-01-01T16:00:00": {"value": "2022-01-01T16:00:00"}, "2022-01-01T15:00:00+00:00": {"value": "2022-01-01T15:00:00+00:00"}}),
):
self.data_type = data_type
self.include_bad_data = include_bad_data
Expand Down Expand Up @@ -155,7 +155,7 @@ class InterpolationAtTimeQueryParams:
def __init__(
self,
data_type: str = Query(..., description="Data Type"),
timestamps: List[Union[date, datetime]] = Query(..., description="Timestamps in format YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss or YYYY-MM-DDTHH:mm:ss+zzzz", examples={"2022-01-01": {"value": "2022-01-01"}, "2022-01-01T15:00:00": {"value": "2022-01-01T15:00:00"}, "2022-01-01T15:00:00+0000": {"value": "2022-01-01T15:00:00+0000"}}),
timestamps: List[Union[date, datetime]] = Query(..., description="Timestamps in format YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss or YYYY-MM-DDTHH:mm:ss+zz:zz", examples={"2022-01-01": {"value": "2022-01-01"}, "2022-01-01T15:00:00": {"value": "2022-01-01T15:00:00"}, "2022-01-01T15:00:00+00:00": {"value": "2022-01-01T15:00:00+00:00"}}),
):
self.data_type = data_type
self.timestamps = timestamps
Expand Down
1 change: 1 addition & 0 deletions src/api/v1/raw.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@


import logging
from logging import Logger
from pandas.io.json import build_table_schema
from fastapi import Query, HTTPException, Depends, Body
import nest_asyncio
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/python/rtdip_sdk/functions/_query_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ def _parse_date(dt, is_end_date=False, exclude_date_format=False):

if _is_date_format(dt, "%Y-%m-%d") and exclude_date_format == False:
_time = "T23:59:59" if is_end_date == True else "T00:00:00"
return dt + _time + "+0000"
return dt + _time + "+00:00"
elif _is_date_format(dt, "%Y-%m-%dT%H:%M:%S"):
return dt + "+0000"
return dt + "+00:00"
elif _is_date_format(dt, "%Y-%m-%dT%H:%M:%S%z"):
return dt
elif _is_date_format(dt, "%Y-%m-%d%z"):
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/python/rtdip_sdk/functions/interpolate.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ def get(connection: object, parameters_dict: dict) -> pd.DataFrame:
data_security_level (str): Level of data security
data_type (str): Type of the data (float, integer, double, string)
tag_names (list): List of tagname or tagnames ["tag_1", "tag_2"]
start_date (str): Start date (Either a date in the format YY-MM-DD or a datetime in the format YYY-MM-DDTHH:MM:SS or specify the timezone offset in the format YYYY-MM-DDTHH:MM:SS+zzzz)
end_date (str): End date (Either a date in the format YY-MM-DD or a datetime in the format YYY-MM-DDTHH:MM:SS or specify the timezone offset in the format YYYY-MM-DDTHH:MM:SS+zzzz)
start_date (str): Start date (Either a date in the format YY-MM-DD or a datetime in the format YYY-MM-DDTHH:MM:SS or specify the timezone offset in the format YYYY-MM-DDTHH:MM:SS+zz:zz)
end_date (str): End date (Either a date in the format YY-MM-DD or a datetime in the format YYY-MM-DDTHH:MM:SS or specify the timezone offset in the format YYYY-MM-DDTHH:MM:SS+zz:zz)
sample_rate (str): The resampling rate (numeric input)
sample_unit (str): The resampling unit (second, minute, day, hour)
agg_method (str): Aggregation Method (first, last, avg, min, max)
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/python/rtdip_sdk/functions/interpolation_at_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import logging
import pandas as pd
from datetime import datetime
from src.sdk.python.rtdip_sdk.functions._query_builder import _query_builder
from ._query_builder import _query_builder

def get(connection: object, parameters_dict: dict) -> pd.DataFrame:
'''
Expand All @@ -34,7 +34,7 @@ def get(connection: object, parameters_dict: dict) -> pd.DataFrame:
data_security_level (str): Level of data security
data_type (str): Type of the data (float, integer, double, string)
tag_names (str): Name of the tag
timestamps (list): List of timestamp or timestamps in the format YYY-MM-DDTHH:MM:SS or YYY-MM-DDTHH:MM:SS+zzzz where %z is the timezone. (Example +0000 is the UTC timezone)
timestamps (list): List of timestamp or timestamps in the format YYY-MM-DDTHH:MM:SS or YYY-MM-DDTHH:MM:SS+zz:zz where %z is the timezone. (Example +00:00 is the UTC timezone)

Returns:
DataFrame: A interpolated at time dataframe.
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/python/rtdip_sdk/functions/raw.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def get(connection: object, parameters_dict: dict) -> pd.DataFrame:
data_security_level (str): Level of data security
data_type (str): Type of the data (float, integer, double, string)
tag_names (list): List of tagname or tagnames ["tag_1", "tag_2"]
start_date (str): Start date (Either a date in the format YY-MM-DD or a datetime in the format YYY-MM-DDTHH:MM:SS or specify the timezone offset in the format YYYY-MM-DDTHH:MM:SS+zzzz)
end_date (str): End date (Either a date in the format YY-MM-DD or a datetime in the format YYY-MM-DDTHH:MM:SS or specify the timezone offset in the format YYYY-MM-DDTHH:MM:SS+zzzz)
start_date (str): Start date (Either a date in the format YY-MM-DD or a datetime in the format YYY-MM-DDTHH:MM:SS or specify the timezone offset in the format YYYY-MM-DDTHH:MM:SS+zz:zz)
end_date (str): End date (Either a date in the format YY-MM-DD or a datetime in the format YYY-MM-DDTHH:MM:SS or specify the timezone offset in the format YYYY-MM-DDTHH:MM:SS+zz:zz)
include_bad_data (bool): Include "Bad" data points with True or remove "Bad" data points with False

Returns:
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/python/rtdip_sdk/functions/resample.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ def get(connection: object, parameters_dict: dict) -> pd.DataFrame:
data_security_level (str): Level of data security
data_type (str): Type of the data (float, integer, double, string)
tag_names (list): List of tagname or tagnames ["tag_1", "tag_2"]
start_date (str): Start date (Either a date in the format YY-MM-DD or a datetime in the format YYY-MM-DDTHH:MM:SS or specify the timezone offset in the format YYYY-MM-DDTHH:MM:SS+zzzz)
end_date (str): End date (Either a date in the format YY-MM-DD or a datetime in the format YYY-MM-DDTHH:MM:SS or specify the timezone offset in the format YYYY-MM-DDTHH:MM:SS+zzzz)
start_date (str): Start date (Either a date in the format YY-MM-DD or a datetime in the format YYY-MM-DDTHH:MM:SS or specify the timezone offset in the format YYYY-MM-DDTHH:MM:SS+zz:zz)
end_date (str): End date (Either a date in the format YY-MM-DD or a datetime in the format YYY-MM-DDTHH:MM:SS or specify the timezone offset in the format YYYY-MM-DDTHH:MM:SS+zz:zz)
sample_rate (str): The resampling rate (numeric input)
sample_unit (str): The resampling unit (second, minute, day, hour)
agg_method (str): Aggregation Method (first, last, avg, min, max)
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/python/rtdip_sdk/functions/time_weighted_average.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ def get(connection: object, parameters_dict: dict) -> pd.DataFrame:
data_security_level (str): Level of data security
data_type (str): Type of the data (float, integer, double, string)
tag_names (list): List of tagname or tagnames
start_date (str): Start date (Either a utc date in the format YYYY-MM-DD or a utc datetime in the format YYYY-MM-DDTHH:MM:SS or specify the timezone offset in the format YYYY-MM-DDTHH:MM:SS+zzzz)
end_date (str): End date (Either a utc date in the format YYYY-MM-DD or a utc datetime in the format YYYY-MM-DDTHH:MM:SS or specify the timezone offset in the format YYYY-MM-DDTHH:MM:SS+zzzz)
start_date (str): Start date (Either a utc date in the format YYYY-MM-DD or a utc datetime in the format YYYY-MM-DDTHH:MM:SS or specify the timezone offset in the format YYYY-MM-DDTHH:MM:SS+zz:zz)
end_date (str): End date (Either a utc date in the format YYYY-MM-DD or a utc datetime in the format YYYY-MM-DDTHH:MM:SS or specify the timezone offset in the format YYYY-MM-DDTHH:MM:SS+zz:zz)
window_size_mins (int): Window size in minutes
window_length (int): (Optional) add longer window time for the start or end of specified date to cater for edge cases
include_bad_data (bool): Include "Bad" data points with True or remove "Bad" data points with False
Expand Down
2 changes: 1 addition & 1 deletion tests/sdk/python/rtdip_sdk/functions/test_interpolate.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
ACCESS_TOKEN = "mock_databricks_token"
DATABRICKS_SQL_CONNECT = 'databricks.sql.connect'
DATABRICKS_SQL_CONNECT_CURSOR = 'databricks.sql.connect.cursor'
MOCKED_QUERY='SELECT a.EventTime, a.TagName, last_value(b.Value, true) OVER (PARTITION BY a.TagName ORDER BY a.EventTime ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) AS Value FROM (SELECT explode(sequence(from_utc_timestamp(to_timestamp(\'2011-01-01T00:00:00+0000\'), "+0000"), from_utc_timestamp(to_timestamp(\'2011-01-02T23:59:59+0000\'), "+0000"), INTERVAL \'1 hour\')) AS EventTime, explode(array(\'MOCKED-TAGNAME\')) AS TagName) a LEFT OUTER JOIN (SELECT DISTINCT TagName, w.start AS EventTime, avg(Value) OVER (PARTITION BY TagName, w.start ORDER BY EventTime ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING ) AS Value FROM (SELECT from_utc_timestamp(EventTime, "+0000") as EventTime, WINDOW(from_utc_timestamp(EventTime, "+0000"), \'1 hour\') w, TagName, Status, Value FROM mocked-buiness-unit.sensors.mocked-asset_mocked-data-security-level_events_mocked-data-type WHERE EventDate BETWEEN to_date(to_timestamp(\'2011-01-01T00:00:00+0000\')) AND to_date(to_timestamp(\'2011-01-02T23:59:59+0000\')) AND EventTime BETWEEN to_timestamp(\'2011-01-01T00:00:00+0000\') AND to_timestamp(\'2011-01-02T23:59:59+0000\') AND TagName in (\'MOCKED-TAGNAME\') AND Status = \'Good\')) b ON a.EventTime = b.EventTime AND a.TagName = b.TagName'
MOCKED_QUERY='SELECT a.EventTime, a.TagName, last_value(b.Value, true) OVER (PARTITION BY a.TagName ORDER BY a.EventTime ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) AS Value FROM (SELECT explode(sequence(from_utc_timestamp(to_timestamp(\'2011-01-01T00:00:00+00:00\'), "+0000"), from_utc_timestamp(to_timestamp(\'2011-01-02T23:59:59+00:00\'), "+0000"), INTERVAL \'1 hour\')) AS EventTime, explode(array(\'MOCKED-TAGNAME\')) AS TagName) a LEFT OUTER JOIN (SELECT DISTINCT TagName, w.start AS EventTime, avg(Value) OVER (PARTITION BY TagName, w.start ORDER BY EventTime ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING ) AS Value FROM (SELECT from_utc_timestamp(EventTime, "+0000") as EventTime, WINDOW(from_utc_timestamp(EventTime, "+0000"), \'1 hour\') w, TagName, Status, Value FROM mocked-buiness-unit.sensors.mocked-asset_mocked-data-security-level_events_mocked-data-type WHERE EventDate BETWEEN to_date(to_timestamp(\'2011-01-01T00:00:00+00:00\')) AND to_date(to_timestamp(\'2011-01-02T23:59:59+00:00\')) AND EventTime BETWEEN to_timestamp(\'2011-01-01T00:00:00+00:00\') AND to_timestamp(\'2011-01-02T23:59:59+00:00\') AND TagName in (\'MOCKED-TAGNAME\') AND Status = \'Good\')) b ON a.EventTime = b.EventTime AND a.TagName = b.TagName'
MOCKED_PARAMETER_DICT = {
"business_unit": "mocked-buiness-unit",
"region": "mocked-region",
Expand Down
Loading