tbapi.api.str_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 StrSeries as _StrSeries
 7from typing import Any, overload
 8from abc import ABC, abstractmethod
 9from tbapi.api.series import Series
10
11@tb_class(_StrSeries)
12class StrSeries(Series):
13    """Represents a series of str values"""
14
15    @overload
16    @staticmethod
17    def new() -> "StrSeries":
18        """Constructor overload with arguments: """
19        ...
20    @staticmethod
21    def new(*args, **kwargs):
22        """Generic factory method for StrSeries. Use overloads for IDE type hints."""
23        return StrSeries(*args, **kwargs)
@tb_class(_StrSeries)
class StrSeries(tbapi.api.series.Series):
19@tb_class(_StrSeries)
20class StrSeries(Series):
21    """Represents a series of str values"""
22
23    @overload
24    @staticmethod
25    def new() -> "StrSeries":
26        """Constructor overload with arguments: """
27        ...
28    @staticmethod
29    def new(*args, **kwargs):
30        """Generic factory method for StrSeries. Use overloads for IDE type hints."""
31        return StrSeries(*args, **kwargs)

Represents a series of str values

StrSeries(*args, **kwargs)
162        def __init__(self, *args, **kwargs):
163            pass
@staticmethod
def new(*args, **kwargs):
28    @staticmethod
29    def new(*args, **kwargs):
30        """Generic factory method for StrSeries. Use overloads for IDE type hints."""
31        return StrSeries(*args, **kwargs)

Generic factory method for StrSeries. Use overloads for IDE type hints.