tbapi.api.interfaces.iseries

 1from __future__ import annotations
 2from typing import TYPE_CHECKING
 3from tbapi.common.decorators import tb_interface
 4from tbapi.common.converters import to_python_datetime, to_net_datetime
 5from datetime import datetime
 6from Tickblaze.Scripts.Api.Interfaces import ISeries as _ISeries
 7from typing import Any, overload
 8from abc import ABC, abstractmethod
 9
10@tb_interface(_ISeries)
11class ISeries():
12    """Defines a series of items and provides methods to retrieve specific items from the series.            The type of items in the series."""
13
14
15
16    def __getitem__(self, index: int) -> Any:
17        result = self._value[index]
18        return result
@tb_interface(_ISeries)
class ISeries:
16@tb_interface(_ISeries)
17class ISeries():
18    """Defines a series of items and provides methods to retrieve specific items from the series.            The type of items in the series."""
19
20
21
22    def __getitem__(self, index: int) -> Any:
23        result = self._value[index]
24        return result

Defines a series of items and provides methods to retrieve specific items from the series. The type of items in the series.

ISeries(*args, **kwargs)
199        def __init__(self, *args, **kwargs):
200            pass