-
Notifications
You must be signed in to change notification settings - Fork 0
Examples and Acceptance Tests - Separate Created/Published Data from Default Data Store #71
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
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
9852f8d
Initial implementation
hunter-ni d8c866f
Minor clean-up
hunter-ni 94f1056
Spacing clean-up
hunter-ni d3f031d
Fix build error
hunter-ni b38d053
Remove '_example_context' from import statement of ExampleContext
hunter-ni 7a2971d
Build issue
hunter-ni 3e42fdc
Review feedback.
hunter-ni 475fb40
Fix spacing issue
hunter-ni aff2371
Adding DataStoreContext to acceptance tests
hunter-ni a4da73b
Adding documentation
hunter-ni 436fdc0
Merge branch 'main' into users/hunter-ni/example-context
hunter-ni 8a1cfe2
Merge branch 'main' into users/hunter-ni/example-context
hunter-ni cb9b6c2
Moving DataStoreContext into its own utilities project that is refere…
hunter-ni 3b05e1f
Add py.typed
hunter-ni ddc14dd
Add example documentation
hunter-ni 2337ad3
Exclude utilities from mypy
hunter-ni e445ceb
Add CI analysis of utilities
hunter-ni 51e1bf3
Test - Introduce Analysis Error
hunter-ni 36cced1
Revert "Test - Introduce Analysis Error"
hunter-ni e54f3a5
Single-sourcing DataStoreContext creation for acceptance testing
hunter-ni 903f453
Remove py.typed. Update documentation.
hunter-ni afba1de
Add back py.typed
hunter-ni fafecc4
Review Feedback - Update 0.1.0-dev0 to 0.1.0.dev0
hunter-ni f9c2c58
Review feedback - update notebook section titles for clarity
hunter-ni 5b7dda0
Introduce style errors in utilities
hunter-ni 4a4a5c6
Revert "Introduce style errors in utilities"
hunter-ni 722f778
Review feedback - add 'check_utilities' to 'checks_succeeded'
hunter-ni a2bad17
Review feedback - exclude utilities from broader style analyzer
hunter-ni c524ce4
Review feedback - Add README for notebooks
hunter-ni 4f79f8d
Review feedback - restore original environment variables in DataStore…
hunter-ni 3ad3099
Add type hint
hunter-ni 7f665e9
Fully qualifying all environment variable names
hunter-ni f35e9ce
Convention - specify environment variables using all upper-case const…
hunter-ni bcf1b55
Merge branch 'main' into users/hunter-ni/example-context
hunter-ni 0b0ff19
Update formatting
hunter-ni 6919289
Updating dependency versions of metadata.v1.client and data.v1.client…
hunter-ni File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| name: Check utilities | ||
|
|
||
| on: | ||
| workflow_call: | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| check_utilities: | ||
| name: Analyze utilities | ||
| strategy: | ||
| matrix: | ||
| os: [windows-latest, ubuntu-latest, macos-latest] | ||
| python-version: [3.14] | ||
| runs-on: ${{ matrix.os }} | ||
| steps: | ||
| - name: Check out repo | ||
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | ||
| with: | ||
| submodules: true | ||
| - name: Set up Python | ||
| uses: ni/python-actions/setup-python@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 | ||
| id: setup-python | ||
| with: | ||
| python-version: ${{ matrix.python-version }} | ||
| - name: Set up Poetry | ||
| uses: ni/python-actions/setup-poetry@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 | ||
| - name: Analyze Python Project | ||
| uses: ni/python-actions/analyze-project@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 | ||
| with: | ||
| project-directory: ${{ github.workspace }}/utilities |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # Example Notebooks | ||
|
|
||
| The Jupyter Notebooks contained within the sub-directories of this directory demonstrate usage and functionality of the Measurement Data Store Python API. | ||
|
|
||
| These notebooks make use of the main Python environment / kernel of `ni.datastore`. To execute the code in these notebooks, first execute the following command from the repo's root directory: | ||
|
|
||
| ```sh | ||
| poetry install | ||
| ``` | ||
|
|
||
| After executing this command, select the environment that it creates as the kernel to use for executing any of the provided notebooks that is of interest to you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.