pytimber.SparkLoggingDB.get_fundamentals
- SparkLoggingDB.get_fundamentals(t1: str | datetime | datetime64 | timedelta | int | int64 | float, t2: str | datetime | datetime64 | timedelta | int | int64 | float, pattern: str | Fundamentals) List[FundamentalVariable]
Gets list of FundamentalVariable objects between two timestamps for a given pattern.
- Parameters:
t1 – The start timestamp of the query, as str, datetime, datetime64, timedelta, int, int64.
t2 – The end timestamp of the query, as str, datetime, datetime64, timedelta, int, int64.
pattern – The pattern to search for, which can be a string or a Fundamentals object,
example (for) – “ACCELERATOR:CYCLE%:USER%” Fundamentals(“ACCELERATOR:CYCLE%:USER%”, [“DEST0”])
- Returns:
A list of FundamentalVariable objects matching the query pattern.