Hi everyone,
I am trying to get data from an API but I need to pass the equipment number. How can I pass the equipment number dynamically? I would appreciate the help.
class StatesStream(SchindlerAPIStream):
"""Define a custom stream."""
equipment_numbers = ['S1862300', 'S1862311', 'S1862377']
name = "states"
path = f"/elevators/{equipment_number}/states"
# primary_keys: t.ClassVar[list[str]] = ["id"]
replication_key = None
schema_filepath = SCHEMAS_DIR / f"{name}.json"