Skip to content

Tags: HydrologicEngineeringCenter/cwms-python

Tags

v1.0.7

Toggle v1.0.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add Additional Args for Store Multiple TS Function (#276)

* Ensure we expose the multi thread option and enable store_multi_ts to handle needed params

* Update the multi ts tests to include the new kwargs

* Patch bump

* Set multithread default to true

v1.0.3

Toggle v1.0.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add ALL Methods for Users Endpoints (#268)

* Create users store/update user methods and expose them

* Create mock and CDA tests

* Create notebook example for users methods

* Remove user mock test

* Add other methods to users and make it more clear what the .get method is doing

* Allow the tests to pull our API keys and have the defaults from the users.sql baked in

* - Update test to include other methods
- q0hectest key works for normal data, but user-management
     endpoints require CWMS User Admins; l2hectest is a better
     default for these tests

* web perms container was not running because DB Healthcheck did not have a host/port

* Ensure files save as a specific end of line per the editor config

* If editor does not support saving with a specific eol, make sure it commits with that eol

* Ensure apikey does not bleed out into any stdouts

* Didn't mean to merge other branch in!

* Comment the roles so the coverage is more clear

* Add additional error types and make sure a message can be passed

* Capture the various error codes and wrap with a friendlier user message

* Give q0hectest admin over LRL, SPK, and MVP for users tests

* add a utility method for user error management

* Allow options for admin vs nonadmin api key env imports

* Add a test for friendly roles and a test to ensure roles being set, confirm admin role

* Fix typing error on user profile response

* Add a one-off user for a forbidden lookup test

* Remove debug statement with api key present

* Remove the other printout of the API key

* Fix new line in the docker compose

* Update docker-compose.yml

* Update 403 test key to non-admin user

* Patch bump

---------

Co-authored-by: Eric Novotny <[email protected]>

v1.0.1

Toggle v1.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Http Error Hint Additions + Blob Test Fixes (#246)

* Add 401 and ensure status code and hint are always returned for errors

* Patch bump

* Forgot to install black precommit locally on this system

* Make 401 clear and give response text

* Correct for empty response/ 400s

* Handle excel response process

* Ensure correct mime_type is sent even if OS does not have it in guess_types

* Correct issue for tests with static json response in hint in favor of getattr

v1.0.0

Toggle v1.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #236 from HydrologicEngineeringCenter/Enovotny-pat…

…ch-1

Update pyproject.toml

v0.8.0

Toggle v0.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #158 from HydrologicEngineeringCenter/release/0.8.0

update release 0.8.0

v0.7.1

Toggle v0.7.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #153 from HydrologicEngineeringCenter/fix/mutltiti…

…meseries

fix to save mutitimeseries call

v0.7.0

Toggle v0.7.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #152 from HydrologicEngineeringCenter/timeout/thre…

…ading_improvement

Timeout/threading improvement

v0.6.0

Toggle v0.6.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #136 from HydrologicEngineeringCenter/update_locat…

…ion_group

add link to pypi

v0.5.0

Toggle v0.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #102 from HydrologicEngineeringCenter/91-create-a-…

…multi-timeseries-call

new release 0.5.0

v0.4.4.2

Toggle v0.4.4.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Rename pypideploy.yml to pypi-deploy.yml