tbapi.api.int_series
1from __future__ import annotations 2from typing import TYPE_CHECKING 3from tbapi.common.decorators import tb_class, tb_interface 4from tbapi.common.converters import to_python_datetime, to_net_datetime 5from datetime import datetime 6from Tickblaze.Python.Scripts.Api import IntSeries as _IntSeries 7from typing import Any, overload 8from abc import ABC, abstractmethod 9from tbapi.api.series import Series 10 11@tb_class(_IntSeries) 12class IntSeries(Series): 13 """Represents a series of int values""" 14 15 @overload 16 @staticmethod 17 def new() -> "IntSeries": 18 """Constructor overload with arguments: """ 19 ... 20 @staticmethod 21 def new(*args, **kwargs): 22 """Generic factory method for IntSeries. Use overloads for IDE type hints.""" 23 return IntSeries(*args, **kwargs)
19@tb_class(_IntSeries) 20class IntSeries(Series): 21 """Represents a series of int values""" 22 23 @overload 24 @staticmethod 25 def new() -> "IntSeries": 26 """Constructor overload with arguments: """ 27 ... 28 @staticmethod 29 def new(*args, **kwargs): 30 """Generic factory method for IntSeries. Use overloads for IDE type hints.""" 31 return IntSeries(*args, **kwargs)
Represents a series of int values
@staticmethod
def
new(*args, **kwargs):
28 @staticmethod 29 def new(*args, **kwargs): 30 """Generic factory method for IntSeries. Use overloads for IDE type hints.""" 31 return IntSeries(*args, **kwargs)
Generic factory method for IntSeries. Use overloads for IDE type hints.