koapy.backend.kiwoom_open_api_plus.core.KiwoomOpenApiPlusDispatchSignature

Module Contents

Classes

KiwoomOpenApiPlusDispatchSignature

A Signature object represents the overall signature of a function.

class koapy.backend.kiwoom_open_api_plus.core.KiwoomOpenApiPlusDispatchSignature.KiwoomOpenApiPlusDispatchSignature(name: str, parameters: Dict[str, inspect.Parameter] = None, return_annotation=Signature.empty)[source]

Bases: koapy.backend.kiwoom_open_api_plus.core.KiwoomOpenApiPlusSignature.KiwoomOpenApiPlusSignature

A Signature object represents the overall signature of a function. It stores a Parameter object for each parameter accepted by the function, as well as information specific to the function itself.

A Signature object has the following public attributes and methods:

  • parametersOrderedDict

    An ordered mapping of parameters’ names to the corresponding Parameter objects (keyword-only arguments are in the same order as listed in code.co_varnames).

  • return_annotationobject

    The annotation for the return type of the function if specified. If the function has no annotation for its return type, this attribute is set to Signature.empty.

  • bind(*args, **kwargs) -> BoundArguments

    System Message: WARNING/2 (/home/runner/work/koapy/koapy/docs/source/autoapi/koapy/backend/kiwoom_open_api_plus/core/KiwoomOpenApiPlusDispatchSignature/index.rst, line 39); backlink

    Inline emphasis start-string without end-string.

    System Message: WARNING/2 (/home/runner/work/koapy/koapy/docs/source/autoapi/koapy/backend/kiwoom_open_api_plus/core/KiwoomOpenApiPlusDispatchSignature/index.rst, line 39); backlink

    Inline strong start-string without end-string.

    Creates a mapping from positional and keyword arguments to parameters.

  • bind_partial(*args, **kwargs) -> BoundArguments

    System Message: WARNING/2 (/home/runner/work/koapy/koapy/docs/source/autoapi/koapy/backend/kiwoom_open_api_plus/core/KiwoomOpenApiPlusDispatchSignature/index.rst, line 43); backlink

    Inline emphasis start-string without end-string.

    System Message: WARNING/2 (/home/runner/work/koapy/koapy/docs/source/autoapi/koapy/backend/kiwoom_open_api_plus/core/KiwoomOpenApiPlusDispatchSignature/index.rst, line 43); backlink

    Inline strong start-string without end-string.

    Creates a partial mapping from positional and keyword arguments to parameters (simulating ‘functools.partial’ behavior.)

DISPATCH_SIGNATURES_BY_NAME :Dict[str, KiwoomOpenApiPlusDispatchSignature][source]
classmethod from_name(cls, name: str) KiwoomOpenApiPlusDispatchSignature[source]
classmethod names(cls) List[str][source]