Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Python Functions ops signature #5143

Merged
merged 1 commit into from
Nov 6, 2023
Merged

Conversation

klecki
Copy link
Contributor

@klecki klecki commented Nov 3, 2023

Category: Bug fix

Description:

The parameters are not keyword-only as is the case for the dynamically
generated APIs. The wrong annotation is not a critical bug - it doesn't affect
runtime and it is more strict than the actual one.

Additional information:

Affected modules and functionalities:

Python Function annotations for ops API.

Key points relevant for the review:

Tests:

  • Existing tests apply
  • New tests added
    • Python tests
    • GTests
    • Benchmark
    • Other
  • N/A

Checklist

Documentation

  • Existing documentation applies
  • Documentation updated
    • Docstring
    • Doxygen
    • RST
    • Jupyter
    • Other
  • N/A

DALI team only

Requirements

  • Implements new requirements
  • Affects existing requirements
  • N/A

REQ IDs: N/A

JIRA TASK: N/A

The parameters are not keyword-only.

Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
@klecki
Copy link
Contributor Author

klecki commented Nov 3, 2023

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [10583536]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [10583536]: BUILD FAILED

@klecki klecki assigned banasraf and unassigned mzient Nov 6, 2023
@dali-automaton
Copy link
Collaborator

CI MESSAGE: [10583536]: BUILD PASSED

@klecki klecki merged commit c235e2f into NVIDIA:main Nov 6, 2023
5 checks passed
@klecki klecki deleted the fixup-class-signature branch November 6, 2023 11:58
stiepan pushed a commit that referenced this pull request Nov 6, 2023
The parameters are not keyword-only as is the case for the dynamically
generated APIs. 

Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
@klecki klecki added the signatures Python API signatures and type hints label Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
signatures Python API signatures and type hints
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants