Skip to content
This repository was archived by the owner on Aug 25, 2024. It is now read-only.
This repository was archived by the owner on Aug 25, 2024. It is now read-only.

df: base: op: Create output Definition if single value result #597

@johnandersen777

Description

@johnandersen777

Similarly to how we did #594, if we see that there is a type annotation for the return type of a function that op is wrapping, we should create a definition for it. The definition name should be in the form of

'.'.join(func.__module__, func.__qualname__, "result")

The name in kwargs["output"] should be result. The code in op has changed since, #594, check the current code to see how this would be done. Add a testcase to ensure that it's working to tests/test_df.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestkind/operationsIssues pertaining to Operationsp1High PrioritytXSEsitmated Time To Complete: Extra Short

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions