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

Refactor Task Internal Modules: Triggers #546

Merged

Conversation

charitylxy
Copy link
Collaborator

What does this Pull Request accomplish?

This PR aims to address issue brought up in #461:

  • Currently, task subobject types are defined in internal modules contained in private nidaqmx._task_modules package.
  • We want to turn task.py into a package and merge it with the internal modules contained in nidaqmx._task_modules

Refactoring work will be split into 5 PRs:

Why should this Pull Request be merged?

In this PR to address #461, following changes have been made:

  • Moved triggering to task package and made its modules private.
  • Added type hints for triggers and it's subobjects xxx_trigger.
  • Documentation updated.

What testing has been done?

Ran poetry run pytest and all tests passed.

@charitylxy charitylxy marked this pull request as ready for review March 19, 2024 14:40
@bkeryan bkeryan changed the title Users/charitylxy/refactor task triggers Refactor Task Internal Modules: Triggers Mar 19, 2024
Copy link
Collaborator

@zhindes zhindes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

defer to Brad

@charitylxy charitylxy merged commit d4d078b into ni:master Mar 20, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants