diff --git a/.github/workflows/push-test.yml b/.github/workflows/push-test.yml index 19279fb..5a795c6 100644 --- a/.github/workflows/push-test.yml +++ b/.github/workflows/push-test.yml @@ -5,7 +5,7 @@ name: Test Package and TestPyPI on: push: branches: - - dev_env + - '*' jobs: test-package: @@ -73,4 +73,4 @@ jobs: with: pypi_token: ${{ secrets.TEST_PYPI_TOKEN }} repository_name: "testpypi" - repository_url: "https://test.pypi.org/legacy/" + repository_url: "https://test.pypi.org/legacy/" \ No newline at end of file diff --git a/.github/workflows/python-docpage.yml b/.github/workflows/python-docpage.yml index e538b18..6f45ba7 100644 --- a/.github/workflows/python-docpage.yml +++ b/.github/workflows/python-docpage.yml @@ -36,4 +36,4 @@ jobs: pip install mkdocs-material - name: Deploy page - run: mkdocs gh-deploy --force + run: mkdocs gh-deploy --force \ No newline at end of file diff --git a/.github/workflows/tag-release-publish.yml b/.github/workflows/tag-release-publish.yml index e7add02..eba4f7d 100644 --- a/.github/workflows/tag-release-publish.yml +++ b/.github/workflows/tag-release-publish.yml @@ -26,4 +26,4 @@ jobs: uses: JRubics/poetry-publish@v2.0 with: pypi_token: ${{ secrets.PYPI_TOKEN }} - plugins: "poetry-dynamic-versioning[plugin]" + plugins: "poetry-dynamic-versioning[plugin]" \ No newline at end of file diff --git a/.github/workflows/update-readme.yml b/.github/workflows/update-readme.yml new file mode 100644 index 0000000..c946172 --- /dev/null +++ b/.github/workflows/update-readme.yml @@ -0,0 +1,30 @@ +name: Update README Badges + +on: + pull_request: + branches: + - main + types: [closed] + +jobs: + update-readme: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Update README badges + run: | + sed -i "s|branch=.*)](https://github.com/HawkinDynamics/hawkinPy/actions/workflows/push-test.yml)|branch=${GITHUB_REF#refs/heads/})](https://github.com/HawkinDynamics/hawkinPy/actions/workflows/push-test.yml)|" README.md + sed -i "s|hawkinPy/.*)](https://img.shields.io/github/last-commit/HawkinDynamics/hawkinPy/)|hawkinPy/${GITHUB_REF#refs/heads/})](https://img.shields.io/github/last-commit/HawkinDynamics/hawkinPy/)|" README.md + + - name: Commit and push changes + run: | + git config --global user.name "github-actions[bot]" + git config --global user.email "github-actions[bot]@users.noreply.github.com" + git add README.md + git commit -m "Update README badges with branch ${GITHUB_REF#refs/heads/}" + git push + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore index 02a49b8..ab63767 100644 --- a/.gitignore +++ b/.gitignore @@ -162,4 +162,4 @@ cython_debug/ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore # and can be added to the global gitignore or merged into this file. For a more nuclear # option (not recommended) you can uncomment the following to ignore the entire idea folder. -#.idea/ +#.idea/ \ No newline at end of file diff --git a/README.md b/README.md index 5951233..3dc2e25 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,12 @@ -# HDFORCE v1.1.1 +# HDFORCE v1.1.2 + **Get your data from the Hawkin Dynamics API** -![Static Badge](https://img.shields.io/badge/release-v1.1.0-blue) -![Static Badge](https://img.shields.io/badge/OS_and_Py_Version_Tests-pass-success) -![Static Badge](https://img.shields.io/badge/last_commit-2024--07--30-blue) +![GitHub Release](https://img.shields.io/github/v/release/HawkinDynamics/hawkinPy) +[![Test Py Versions and OS](https://github.com/HawkinDynamics/hawkinPy/actions/workflows/push-test.yml/badge.svg?branch=main)](https://github.com/HawkinDynamics/hawkinPy/actions/workflows/push-test.yml) +![GitHub last commit (branch)](https://img.shields.io/github/last-commit/HawkinDynamics/hawkinPy/main) [![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active) [![lifecycle](https://img.shields.io/badge/lifecycle-stable-green.svg)](https://www.tidyverse.org/lifecycle/#stable) [![license](https://img.shields.io/badge/license-MIT%20+%20file%20LICENSE-lightgrey.svg)](https://choosealicense.com/) diff --git a/docs/About/changelog.md b/docs/About/changelog.md index 4546e96..503901e 100644 --- a/docs/About/changelog.md +++ b/docs/About/changelog.md @@ -1,5 +1,9 @@ # Changelogs +## hdforce v1.1.2 + +* Bug fix: addition of new TruStrength test names and IDs to testTypeId validation method + ## hdforce v1.1.1 * Corrected versioning and documentation diff --git a/docs/Functions/CreateAthletes.md b/docs/Functions/CreateAthletes.md index 57c1251..2986752 100644 --- a/docs/Functions/CreateAthletes.md +++ b/docs/Functions/CreateAthletes.md @@ -53,5 +53,3 @@ _output_ "successful": ["New Guy", "Old Guy"], "failures": [] } - - diff --git a/docs/Functions/GetAthletes.md b/docs/Functions/GetAthletes.md index 24aa032..1fa1eb4 100644 --- a/docs/Functions/GetAthletes.md +++ b/docs/Functions/GetAthletes.md @@ -43,4 +43,3 @@ _output_ |----------------------|--------------|--------------------------------------------------|----------------------|--------|-------------------|-------------------|--------------------|--------------------| | OLbsebtmf81eiwg1AeE5 | Lauren Green | ['DPMb6ek2mgUNVcg8siSqpnIvE2i2', 'vW9iEKafhs2PamfWQpFZ'] | ['yh8RnOvg56dQNrZGBKWZ'] | True | 2004 | Whittier | 83keo9wjei939ekd9 | SA0042643 | - diff --git a/docs/Functions/GetForceTime.md b/docs/Functions/GetForceTime.md index cbc596a..b932e34 100644 --- a/docs/Functions/GetForceTime.md +++ b/docs/Functions/GetForceTime.md @@ -48,4 +48,4 @@ _output_ | 2001 | 2.002 | 46 | 122 | 168 | -1.128090 | -0.078543 | -189.519185 | [] | | 2002 | 2.003 | 49 | 126 | 175 | -1.136487 | -0.079675 | -198.885184 | [] | | 2003 | 2.004 | 53 | 130 | 183 | -1.144821 | -0.080816 | -209.502302 | [] | -| 2004 | 2.005 | 56 | 135 | 191 | -1.153090 | -0.081965 | -220.240178 | [] | +| 2004 | 2.005 | 56 | 135 | 191 | -1.153090 | -0.081965 | -220.240178 | [] | \ No newline at end of file diff --git a/docs/Functions/GetMetrics.md b/docs/Functions/GetMetrics.md index 027f8b3..039e875 100644 --- a/docs/Functions/GetMetrics.md +++ b/docs/Functions/GetMetrics.md @@ -40,4 +40,4 @@ _output_ | 7nNduHeM5zETPjHxvm7s | Countermovement Jump | peakRelativeBrakingForce | Peak Relative Braking Force | % | The peak instantaneous vertical ground reaction force applied to the system center of mass during the braking phase as a percentage of system weight. | | 7nNduHeM5zETPjHxvm7s | Countermovement Jump | avgPropulsiveForce | Avg. Propulsive Force | N | The average vertical ground reaction force applied to the system center of mass during the propulsion phase. | | 7nNduHeM5zETPjHxvm7s | Countermovement Jump | avgRelativePropulsiveForce| Avg. Relative Propulsive Force | % | The average vertical ground reaction force applied to the system center of mass during the propulsion phase as a percentage of system weight. | -| 7nNduHeM5zETPjHxvm7s | Countermovement Jump | peakPropulsiveForce | Peak Propulsive Force | N | The peak instantaneous vertical ground reaction force applied to the system center of mass during the propulsion phase. | +| 7nNduHeM5zETPjHxvm7s | Countermovement Jump | peakPropulsiveForce | Peak Propulsive Force | N | The peak instantaneous vertical ground reaction force applied to the system center of mass during the propulsion phase. | \ No newline at end of file diff --git a/docs/Functions/GetTags.md b/docs/Functions/GetTags.md index 02299f9..4924b37 100644 --- a/docs/Functions/GetTags.md +++ b/docs/Functions/GetTags.md @@ -35,4 +35,4 @@ _output_ | Afcw45lIkeHFnlUyDeSn | 10/5 | 10/5 Multi-Rebound test protocol | | KmZmhxUqrbOhLLvRLAbG | 5/3 | 5/3 Multi-Rebound test protocol | | Lgc8uJh80NacB8eaqjOg | 20kg | addition of 20kg load to system mass | -| hVgWJkwHZ9Mm8XDymP3W | Hands On Hips | Akimbo style jump | +| hVgWJkwHZ9Mm8XDymP3W | Hands On Hips | Akimbo style jump | \ No newline at end of file diff --git a/docs/Functions/GetTestsType.md b/docs/Functions/GetTestsType.md index 2d0542f..60a3e04 100644 --- a/docs/Functions/GetTestsType.md +++ b/docs/Functions/GetTestsType.md @@ -19,6 +19,8 @@ The typeId has been created to be more user friendly, as it accepts any of canon | r4fhrkPdYlLxYQxEeM78 | Multi Rebound | MR | | ubeWMPN1lJFbuQbAM97s | Weigh In | WI | | rKgI4y3ItTAzUekTUpvR | Drop Landing | DL | +| 4KlQgKmBxbOY6uKTLDFL | TS Free Run | TSFR | +| umnEZPgi6zaxuw0KhUpM | TS Isometric Test | TSISO | ### Parameters __`typeId`__: _(str)_ The canonical test ID, test type name, or test name abbreviation. Must correspond to known test types. diff --git a/docs/Functions/GetTypes.md b/docs/Functions/GetTypes.md index c886b73..3450c97 100644 --- a/docs/Functions/GetTypes.md +++ b/docs/Functions/GetTypes.md @@ -29,17 +29,16 @@ print(testTypes) _output_ -| id | name | -|----------------------|--------------------| +| id | name | +|----------------------|----------------------| | 7nNduHeM5zETPjHxvm7s | Countermovement Jump | -| QEG7m7DhYsD6BrcQ8pic | Squat Jump | -| 2uS5XD5kXmWgIZ5HhQ3A | Isometric Test | -| gyBETpRXpdr63Ab2E0V8 | Drop Jump | -| 5pRSUQVSJVnxijpPMck3 | Free Run | -| pqgf2TPUOQOQs6r0HQWb | CMJ Rebound | -| r4fhrkPdYlLxYQxEeM78 | Multi Rebound | -| ubeWMPN1lJFbuQbAM97s | Weigh In | -| rKgI4y3ItTAzUekTUpvR | Drop Landing | - - - +| QEG7m7DhYsD6BrcQ8pic | Squat Jump | +| 2uS5XD5kXmWgIZ5HhQ3A | Isometric Test | +| gyBETpRXpdr63Ab2E0V8 | Drop Jump | +| 5pRSUQVSJVnxijpPMck3 | Free Run | +| pqgf2TPUOQOQs6r0HQWb | CMJ Rebound | +| r4fhrkPdYlLxYQxEeM78 | Multi Rebound | +| ubeWMPN1lJFbuQbAM97s | Weigh In | +| rKgI4y3ItTAzUekTUpvR | Drop Landing | +| 4KlQgKmBxbOY6uKTLDFL | TS Free Run | +| umnEZPgi6zaxuw0KhUpM | TS Isometric Test | diff --git a/docs/index.md b/docs/index.md index eae4745..b3e816d 100644 --- a/docs/index.md +++ b/docs/index.md @@ -2,9 +2,9 @@ **Get your data from the Hawkin Dynamics API** -![Static Badge](https://img.shields.io/badge/release-v1.1.1-blue) -![Static Badge](https://img.shields.io/badge/OS_and_Py_Version_Tests-pass-success) -![Static Badge](https://img.shields.io/badge/last_commit-2024--07--30-blue) +![GitHub Release](https://img.shields.io/github/v/release/HawkinDynamics/hawkinPy) +[![Test Py Versions and OS](https://github.com/HawkinDynamics/hawkinPy/actions/workflows/push-test.yml/badge.svg?branch=main)](https://github.com/HawkinDynamics/hawkinPy/actions/workflows/push-test.yml) +![GitHub last commit (branch)](https://img.shields.io/github/last-commit/HawkinDynamics/hawkinPy/main) [![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active) [![lifecycle](https://img.shields.io/badge/lifecycle-stable-green.svg)](https://www.tidyverse.org/lifecycle/#stable) [![license](https://img.shields.io/badge/license-MIT%20+%20file%20LICENSE-lightgrey.svg)](https://choosealicense.com/) diff --git a/hdforce/AuthManager.py b/hdforce/AuthManager.py index ecdf953..d461d8d 100644 --- a/hdforce/AuthManager.py +++ b/hdforce/AuthManager.py @@ -167,4 +167,4 @@ def AuthManager(authMethod: str = "env", refreshToken_name: str = "HD_REFRESH_TO # Join the names of the empty variables into a comma-separated string empty_vars_str = ", ".join(empty_variables) logger.error(f"Missing variables: {empty_vars_str}.") - raise ValueError(f"The following variables are empty: {empty_vars_str}.") + raise ValueError(f"The following variables are empty: {empty_vars_str}.") \ No newline at end of file diff --git a/hdforce/Classes.py b/hdforce/Classes.py index b18b4a1..82d93e1 100644 --- a/hdforce/Classes.py +++ b/hdforce/Classes.py @@ -56,3 +56,4 @@ class AthleteResult(BaseModel): successful: bool id: str reason: List[str] = [] + \ No newline at end of file diff --git a/hdforce/CreateAthletes.py b/hdforce/CreateAthletes.py index a939fce..845ff60 100644 --- a/hdforce/CreateAthletes.py +++ b/hdforce/CreateAthletes.py @@ -128,3 +128,4 @@ def CreateAthletes(athletes: List[NewAthlete]) -> List[AthleteResult]: except ValueError: logger.error("Failed to parse response JSON") raise Exception("Failed to parse response JSON") + diff --git a/hdforce/GetAthletes.py b/hdforce/GetAthletes.py index bd40518..844a80d 100644 --- a/hdforce/GetAthletes.py +++ b/hdforce/GetAthletes.py @@ -119,4 +119,4 @@ def GetAthletes(includeInactive: bool = False) -> pd.DataFrame: # Bad parse or none returned except ValueError: logger.error("Failed to parse JSON response or no data returned.") - raise Exception("Failed to parse JSON response or no data returned.") + raise Exception("Failed to parse JSON response or no data returned.") \ No newline at end of file diff --git a/hdforce/GetForceTime.py b/hdforce/GetForceTime.py index a732450..c4afd4f 100644 --- a/hdforce/GetForceTime.py +++ b/hdforce/GetForceTime.py @@ -134,4 +134,4 @@ def GetForceTime(testId: str) -> pd.DataFrame: except ValueError: logger.error("Failed to parse JSON response or no data returned.") - raise Exception("Failed to parse JSON response or no data returned.") + raise Exception("Failed to parse JSON response or no data returned.") \ No newline at end of file diff --git a/hdforce/GetGroups.py b/hdforce/GetGroups.py index e71ea2d..7552cd4 100644 --- a/hdforce/GetGroups.py +++ b/hdforce/GetGroups.py @@ -101,4 +101,4 @@ def GetGroups() -> pd.DataFrame: except ValueError: logger.error("Failed to parse JSON response or no data returned.") - raise Exception("Failed to parse JSON response or no data returned.") + raise Exception("Failed to parse JSON response or no data returned.") \ No newline at end of file diff --git a/hdforce/GetMetrics.py b/hdforce/GetMetrics.py index e12ba5d..1a00b6c 100644 --- a/hdforce/GetMetrics.py +++ b/hdforce/GetMetrics.py @@ -112,4 +112,4 @@ def GetMetrics() -> pd.DataFrame: except ValueError: logger.error("Failed to parse JSON response or no data returned") - raise Exception("Failed to parse JSON response or no data returned.") + raise Exception("Failed to parse JSON response or no data returned.") \ No newline at end of file diff --git a/hdforce/GetTags.py b/hdforce/GetTags.py index d2e75d0..7cce3f4 100644 --- a/hdforce/GetTags.py +++ b/hdforce/GetTags.py @@ -102,4 +102,4 @@ def GetTags() -> pd.DataFrame: # Bad parse or none returned except ValueError: logger.error("Failed to parse JSON response or no data returned") - raise Exception("Failed to parse JSON response or no data returned.") + raise Exception("Failed to parse JSON response or no data returned.") \ No newline at end of file diff --git a/hdforce/GetTeams.py b/hdforce/GetTeams.py index de8fcf6..545a529 100644 --- a/hdforce/GetTeams.py +++ b/hdforce/GetTeams.py @@ -102,4 +102,4 @@ def GetTeams() -> pd.DataFrame: # Bad parse or none returned except ValueError: logger.error("Failed to parse JSON response or no data returned.") - raise Exception("Failed to parse JSON response or no data returned.") + raise Exception("Failed to parse JSON response or no data returned.") \ No newline at end of file diff --git a/hdforce/GetTests.py b/hdforce/GetTests.py index b1ccbfe..bc11f83 100644 --- a/hdforce/GetTests.py +++ b/hdforce/GetTests.py @@ -139,7 +139,9 @@ def GetTests(from_=None, to_=None, sync=False, athleteId=None, typeId=None, team "pqgf2TPUOQOQs6r0HQWb": ["pqgf2TPUOQOQs6r0HQWb", "CMJ Rebound", "CMJR"], "r4fhrkPdYlLxYQxEeM78": ["r4fhrkPdYlLxYQxEeM78", "Multi Rebound", "MR"], "ubeWMPN1lJFbuQbAM97s": ["ubeWMPN1lJFbuQbAM97s", "Weigh In", "WI"], - "rKgI4y3ItTAzUekTUpvR": ["rKgI4y3ItTAzUekTUpvR", "Drop Landing", "DL"] + "rKgI4y3ItTAzUekTUpvR": ["rKgI4y3ItTAzUekTUpvR", "Drop Landing", "DL"], + "4KlQgKmBxbOY6uKTLDFL": ["4KlQgKmBxbOY6uKTLDFL", "TS Free Run", "TSFR"], + "umnEZPgi6zaxuw0KhUpM": ["umnEZPgi6zaxuw0KhUpM", "TS Isometric Test", "TSISO"] } # Sort test type Id for key, values in type_ids.items(): @@ -240,4 +242,4 @@ def GetTests(from_=None, to_=None, sync=False, athleteId=None, typeId=None, team return f"JSON Error: {e}" except Exception as e: - return f"An error occurred: {e}" + return f"An error occurred: {e}" \ No newline at end of file diff --git a/hdforce/GetTestsAth.py b/hdforce/GetTestsAth.py index c22c853..f248985 100644 --- a/hdforce/GetTestsAth.py +++ b/hdforce/GetTestsAth.py @@ -174,4 +174,4 @@ def GetTestsAth(athleteId: str, from_: int = None, to_: int = None, sync: bool = return f"JSON Error: {e}" except Exception as e: - return f"An error occurred: {e}" + return f"An error occurred: {e}" \ No newline at end of file diff --git a/hdforce/GetTestsGroup.py b/hdforce/GetTestsGroup.py index 675fa4f..3a446de 100644 --- a/hdforce/GetTestsGroup.py +++ b/hdforce/GetTestsGroup.py @@ -170,4 +170,4 @@ def GetTestsGroup(groupId: str, from_: int = None, to_: int = None, sync: bool = return f"JSON Error: {e}" except Exception as e: - return f"An error occurred: {e}" + return f"An error occurred: {e}" \ No newline at end of file diff --git a/hdforce/GetTestsTeam.py b/hdforce/GetTestsTeam.py index 211a404..21129e2 100644 --- a/hdforce/GetTestsTeam.py +++ b/hdforce/GetTestsTeam.py @@ -169,4 +169,4 @@ def GetTestsTeam(teamId: str, from_: int = None, to_: int = None, sync: bool = F return f"JSON Error: {e}" except Exception as e: - return f"An error occurred: {e}" + return f"An error occurred: {e}" \ No newline at end of file diff --git a/hdforce/GetTestsType.py b/hdforce/GetTestsType.py index da8cf1e..198ef76 100644 --- a/hdforce/GetTestsType.py +++ b/hdforce/GetTestsType.py @@ -115,16 +115,18 @@ def GetTestsType(typeId: str, from_: int = None, to_: int = None, sync: bool = F # Check typeId type_ids = { - "7nNduHeM5zETPjHxvm7s": ["7nNduHeM5zETPjHxvm7s", "Countermovement Jump", "CMJ"], - "QEG7m7DhYsD6BrcQ8pic": ["QEG7m7DhYsD6BrcQ8pic", "Squat Jump", "SJ"], - "2uS5XD5kXmWgIZ5HhQ3A": ["2uS5XD5kXmWgIZ5HhQ3A", "Isometric Test", "ISO"], - "gyBETpRXpdr63Ab2E0V8": ["gyBETpRXpdr63Ab2E0V8", "Drop Jump", "DJ"], - "5pRSUQVSJVnxijpPMck3": ["5pRSUQVSJVnxijpPMck3", "Free Run", "FREE"], - "pqgf2TPUOQOQs6r0HQWb": ["pqgf2TPUOQOQs6r0HQWb", "CMJ Rebound", "CMJR"], - "r4fhrkPdYlLxYQxEeM78": ["r4fhrkPdYlLxYQxEeM78", "Multi Rebound", "MR"], - "ubeWMPN1lJFbuQbAM97s": ["ubeWMPN1lJFbuQbAM97s", "Weigh In", "WI"], - "rKgI4y3ItTAzUekTUpvR": ["rKgI4y3ItTAzUekTUpvR", "Drop Landing", "DL"] - } + "7nNduHeM5zETPjHxvm7s": ["7nNduHeM5zETPjHxvm7s", "Countermovement Jump", "CMJ"], + "QEG7m7DhYsD6BrcQ8pic": ["QEG7m7DhYsD6BrcQ8pic", "Squat Jump", "SJ"], + "2uS5XD5kXmWgIZ5HhQ3A": ["2uS5XD5kXmWgIZ5HhQ3A", "Isometric Test", "ISO"], + "gyBETpRXpdr63Ab2E0V8": ["gyBETpRXpdr63Ab2E0V8", "Drop Jump", "DJ"], + "5pRSUQVSJVnxijpPMck3": ["5pRSUQVSJVnxijpPMck3", "Free Run", "FREE"], + "pqgf2TPUOQOQs6r0HQWb": ["pqgf2TPUOQOQs6r0HQWb", "CMJ Rebound", "CMJR"], + "r4fhrkPdYlLxYQxEeM78": ["r4fhrkPdYlLxYQxEeM78", "Multi Rebound", "MR"], + "ubeWMPN1lJFbuQbAM97s": ["ubeWMPN1lJFbuQbAM97s", "Weigh In", "WI"], + "rKgI4y3ItTAzUekTUpvR": ["rKgI4y3ItTAzUekTUpvR", "Drop Landing", "DL"], + "4KlQgKmBxbOY6uKTLDFL": ["4KlQgKmBxbOY6uKTLDFL", "TS Free Run", "TSFR"], + "umnEZPgi6zaxuw0KhUpM": ["umnEZPgi6zaxuw0KhUpM", "TS Isometric Test", "TSISO"] + } for key, values in type_ids.items(): if typeId in values: @@ -191,4 +193,4 @@ def GetTestsType(typeId: str, from_: int = None, to_: int = None, sync: bool = F return f"JSON Error: {e}" except Exception as e: - return f"An error occurred: {e}" + return f"An error occurred: {e}" \ No newline at end of file diff --git a/hdforce/GetTypes.py b/hdforce/GetTypes.py index 0b23417..f24b82a 100644 --- a/hdforce/GetTypes.py +++ b/hdforce/GetTypes.py @@ -100,4 +100,4 @@ def GetTypes() -> pd.DataFrame: except ValueError: logger.error("Failed to parse JSON response or no data returned.") - raise Exception("Failed to parse JSON response or no data returned.") + raise Exception("Failed to parse JSON response or no data returned.") \ No newline at end of file diff --git a/hdforce/__init__.py b/hdforce/__init__.py index f0b1f25..a572589 100644 --- a/hdforce/__init__.py +++ b/hdforce/__init__.py @@ -18,4 +18,4 @@ from .GetAthletes import GetAthletes from .GetGroups import GetGroups from .GetTeams import GetTeams -from .GetTags import GetTags +from .GetTags import GetTags \ No newline at end of file diff --git a/hdforce/utils.py b/hdforce/utils.py index 4326514..5d1d2c0 100644 --- a/hdforce/utils.py +++ b/hdforce/utils.py @@ -330,3 +330,4 @@ def wrapper(*args, **kwargs): return func(*args, **kwargs) return wrapper return decorator + diff --git a/mkdocs.yml b/mkdocs.yml index 802d039..1244e35 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: hdforce by Hawkin Dynamics +site_name: hdforce v1.1.2 by Hawkin Dynamics nav: - Home: index.md - User Guide: diff --git a/poetry.lock b/poetry.lock index 4979dc9..7ab2df5 100644 --- a/poetry.lock +++ b/poetry.lock @@ -341,13 +341,15 @@ files = [ [[package]] name = "importlib-metadata" -version = "8.0.0" +version = "8.2.0" + description = "Read metadata from Python packages" optional = false python-versions = ">=3.8" files = [ - {file = "importlib_metadata-8.0.0-py3-none-any.whl", hash = "sha256:15584cf2b1bf449d98ff8a6ff1abef57bf20f3ac6454f431736cd3e660921b2f"}, - {file = "importlib_metadata-8.0.0.tar.gz", hash = "sha256:188bd24e4c346d3f0a933f275c2fec67050326a856b9a359881d7c2a697e8812"}, + {file = "importlib_metadata-8.2.0-py3-none-any.whl", hash = "sha256:11901fa0c2f97919b288679932bb64febaeacf289d18ac84dd68cb2e74213369"}, + {file = "importlib_metadata-8.2.0.tar.gz", hash = "sha256:72e8d4399996132204f9a16dcc751af254a48f8d1b20b9ff0f98d4a8f901e73d"}, + ] [package.dependencies] @@ -539,56 +541,57 @@ files = [ [[package]] name = "numpy" -version = "2.0.0" +version = "2.0.1" description = "Fundamental package for array computing in Python" optional = false python-versions = ">=3.9" files = [ - {file = "numpy-2.0.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:04494f6ec467ccb5369d1808570ae55f6ed9b5809d7f035059000a37b8d7e86f"}, - {file = "numpy-2.0.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:2635dbd200c2d6faf2ef9a0d04f0ecc6b13b3cad54f7c67c61155138835515d2"}, - {file = "numpy-2.0.0-cp310-cp310-macosx_14_0_arm64.whl", hash = "sha256:0a43f0974d501842866cc83471bdb0116ba0dffdbaac33ec05e6afed5b615238"}, - {file = "numpy-2.0.0-cp310-cp310-macosx_14_0_x86_64.whl", hash = "sha256:8d83bb187fb647643bd56e1ae43f273c7f4dbcdf94550d7938cfc32566756514"}, - {file = "numpy-2.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:79e843d186c8fb1b102bef3e2bc35ef81160ffef3194646a7fdd6a73c6b97196"}, - {file = "numpy-2.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6d7696c615765091cc5093f76fd1fa069870304beaccfd58b5dcc69e55ef49c1"}, - {file = "numpy-2.0.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:b4c76e3d4c56f145d41b7b6751255feefae92edbc9a61e1758a98204200f30fc"}, - {file = "numpy-2.0.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:acd3a644e4807e73b4e1867b769fbf1ce8c5d80e7caaef0d90dcdc640dfc9787"}, - {file = "numpy-2.0.0-cp310-cp310-win32.whl", hash = "sha256:cee6cc0584f71adefe2c908856ccc98702baf95ff80092e4ca46061538a2ba98"}, - {file = "numpy-2.0.0-cp310-cp310-win_amd64.whl", hash = "sha256:ed08d2703b5972ec736451b818c2eb9da80d66c3e84aed1deeb0c345fefe461b"}, - {file = "numpy-2.0.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ad0c86f3455fbd0de6c31a3056eb822fc939f81b1618f10ff3406971893b62a5"}, - {file = "numpy-2.0.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:e7f387600d424f91576af20518334df3d97bc76a300a755f9a8d6e4f5cadd289"}, - {file = "numpy-2.0.0-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:34f003cb88b1ba38cb9a9a4a3161c1604973d7f9d5552c38bc2f04f829536609"}, - {file = "numpy-2.0.0-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:b6f6a8f45d0313db07d6d1d37bd0b112f887e1369758a5419c0370ba915b3871"}, - {file = "numpy-2.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5f64641b42b2429f56ee08b4f427a4d2daf916ec59686061de751a55aafa22e4"}, - {file = "numpy-2.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a7039a136017eaa92c1848152827e1424701532ca8e8967fe480fe1569dae581"}, - {file = "numpy-2.0.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:46e161722e0f619749d1cd892167039015b2c2817296104487cd03ed4a955995"}, - {file = "numpy-2.0.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:0e50842b2295ba8414c8c1d9d957083d5dfe9e16828b37de883f51fc53c4016f"}, - {file = "numpy-2.0.0-cp311-cp311-win32.whl", hash = "sha256:2ce46fd0b8a0c947ae047d222f7136fc4d55538741373107574271bc00e20e8f"}, - {file = "numpy-2.0.0-cp311-cp311-win_amd64.whl", hash = "sha256:fbd6acc766814ea6443628f4e6751d0da6593dae29c08c0b2606164db026970c"}, - {file = "numpy-2.0.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:354f373279768fa5a584bac997de6a6c9bc535c482592d7a813bb0c09be6c76f"}, - {file = "numpy-2.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4d2f62e55a4cd9c58c1d9a1c9edaedcd857a73cb6fda875bf79093f9d9086f85"}, - {file = "numpy-2.0.0-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:1e72728e7501a450288fc8e1f9ebc73d90cfd4671ebbd631f3e7857c39bd16f2"}, - {file = "numpy-2.0.0-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:84554fc53daa8f6abf8e8a66e076aff6ece62de68523d9f665f32d2fc50fd66e"}, - {file = "numpy-2.0.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c73aafd1afca80afecb22718f8700b40ac7cab927b8abab3c3e337d70e10e5a2"}, - {file = "numpy-2.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:49d9f7d256fbc804391a7f72d4a617302b1afac1112fac19b6c6cec63fe7fe8a"}, - {file = "numpy-2.0.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:0ec84b9ba0654f3b962802edc91424331f423dcf5d5f926676e0150789cb3d95"}, - {file = "numpy-2.0.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:feff59f27338135776f6d4e2ec7aeeac5d5f7a08a83e80869121ef8164b74af9"}, - {file = "numpy-2.0.0-cp312-cp312-win32.whl", hash = "sha256:c5a59996dc61835133b56a32ebe4ef3740ea5bc19b3983ac60cc32be5a665d54"}, - {file = "numpy-2.0.0-cp312-cp312-win_amd64.whl", hash = "sha256:a356364941fb0593bb899a1076b92dfa2029f6f5b8ba88a14fd0984aaf76d0df"}, - {file = "numpy-2.0.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:e61155fae27570692ad1d327e81c6cf27d535a5d7ef97648a17d922224b216de"}, - {file = "numpy-2.0.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:4554eb96f0fd263041baf16cf0881b3f5dafae7a59b1049acb9540c4d57bc8cb"}, - {file = "numpy-2.0.0-cp39-cp39-macosx_14_0_arm64.whl", hash = "sha256:903703372d46bce88b6920a0cd86c3ad82dae2dbef157b5fc01b70ea1cfc430f"}, - {file = "numpy-2.0.0-cp39-cp39-macosx_14_0_x86_64.whl", hash = "sha256:3e8e01233d57639b2e30966c63d36fcea099d17c53bf424d77f088b0f4babd86"}, - {file = "numpy-2.0.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1cde1753efe513705a0c6d28f5884e22bdc30438bf0085c5c486cdaff40cd67a"}, - {file = "numpy-2.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:821eedb7165ead9eebdb569986968b541f9908979c2da8a4967ecac4439bae3d"}, - {file = "numpy-2.0.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:9a1712c015831da583b21c5bfe15e8684137097969c6d22e8316ba66b5baabe4"}, - {file = "numpy-2.0.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:9c27f0946a3536403efb0e1c28def1ae6730a72cd0d5878db38824855e3afc44"}, - {file = "numpy-2.0.0-cp39-cp39-win32.whl", hash = "sha256:63b92c512d9dbcc37f9d81b123dec99fdb318ba38c8059afc78086fe73820275"}, - {file = "numpy-2.0.0-cp39-cp39-win_amd64.whl", hash = "sha256:3f6bed7f840d44c08ebdb73b1825282b801799e325bcbdfa6bc5c370e5aecc65"}, - {file = "numpy-2.0.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:9416a5c2e92ace094e9f0082c5fd473502c91651fb896bc17690d6fc475128d6"}, - {file = "numpy-2.0.0-pp39-pypy39_pp73-macosx_14_0_x86_64.whl", hash = "sha256:17067d097ed036636fa79f6a869ac26df7db1ba22039d962422506640314933a"}, - {file = "numpy-2.0.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:38ecb5b0582cd125f67a629072fed6f83562d9dd04d7e03256c9829bdec027ad"}, - {file = "numpy-2.0.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:cef04d068f5fb0518a77857953193b6bb94809a806bd0a14983a8f12ada060c9"}, - {file = "numpy-2.0.0.tar.gz", hash = "sha256:cf5d1c9e6837f8af9f92b6bd3e86d513cdc11f60fd62185cc49ec7d1aba34864"}, + {file = "numpy-2.0.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0fbb536eac80e27a2793ffd787895242b7f18ef792563d742c2d673bfcb75134"}, + {file = "numpy-2.0.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:69ff563d43c69b1baba77af455dd0a839df8d25e8590e79c90fcbe1499ebde42"}, + {file = "numpy-2.0.1-cp310-cp310-macosx_14_0_arm64.whl", hash = "sha256:1b902ce0e0a5bb7704556a217c4f63a7974f8f43e090aff03fcf262e0b135e02"}, + {file = "numpy-2.0.1-cp310-cp310-macosx_14_0_x86_64.whl", hash = "sha256:f1659887361a7151f89e79b276ed8dff3d75877df906328f14d8bb40bb4f5101"}, + {file = "numpy-2.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4658c398d65d1b25e1760de3157011a80375da861709abd7cef3bad65d6543f9"}, + {file = "numpy-2.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4127d4303b9ac9f94ca0441138acead39928938660ca58329fe156f84b9f3015"}, + {file = "numpy-2.0.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:e5eeca8067ad04bc8a2a8731183d51d7cbaac66d86085d5f4766ee6bf19c7f87"}, + {file = "numpy-2.0.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:9adbd9bb520c866e1bfd7e10e1880a1f7749f1f6e5017686a5fbb9b72cf69f82"}, + {file = "numpy-2.0.1-cp310-cp310-win32.whl", hash = "sha256:7b9853803278db3bdcc6cd5beca37815b133e9e77ff3d4733c247414e78eb8d1"}, + {file = "numpy-2.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:81b0893a39bc5b865b8bf89e9ad7807e16717f19868e9d234bdaf9b1f1393868"}, + {file = "numpy-2.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:75b4e316c5902d8163ef9d423b1c3f2f6252226d1aa5cd8a0a03a7d01ffc6268"}, + {file = "numpy-2.0.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:6e4eeb6eb2fced786e32e6d8df9e755ce5be920d17f7ce00bc38fcde8ccdbf9e"}, + {file = "numpy-2.0.1-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:a1e01dcaab205fbece13c1410253a9eea1b1c9b61d237b6fa59bcc46e8e89343"}, + {file = "numpy-2.0.1-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:a8fc2de81ad835d999113ddf87d1ea2b0f4704cbd947c948d2f5513deafe5a7b"}, + {file = "numpy-2.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5a3d94942c331dd4e0e1147f7a8699a4aa47dffc11bf8a1523c12af8b2e91bbe"}, + {file = "numpy-2.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:15eb4eca47d36ec3f78cde0a3a2ee24cf05ca7396ef808dda2c0ddad7c2bde67"}, + {file = "numpy-2.0.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:b83e16a5511d1b1f8a88cbabb1a6f6a499f82c062a4251892d9ad5d609863fb7"}, + {file = "numpy-2.0.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1f87fec1f9bc1efd23f4227becff04bd0e979e23ca50cc92ec88b38489db3b55"}, + {file = "numpy-2.0.1-cp311-cp311-win32.whl", hash = "sha256:36d3a9405fd7c511804dc56fc32974fa5533bdeb3cd1604d6b8ff1d292b819c4"}, + {file = "numpy-2.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:08458fbf403bff5e2b45f08eda195d4b0c9b35682311da5a5a0a0925b11b9bd8"}, + {file = "numpy-2.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:6bf4e6f4a2a2e26655717a1983ef6324f2664d7011f6ef7482e8c0b3d51e82ac"}, + {file = "numpy-2.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7d6fddc5fe258d3328cd8e3d7d3e02234c5d70e01ebe377a6ab92adb14039cb4"}, + {file = "numpy-2.0.1-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:5daab361be6ddeb299a918a7c0864fa8618af66019138263247af405018b04e1"}, + {file = "numpy-2.0.1-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:ea2326a4dca88e4a274ba3a4405eb6c6467d3ffbd8c7d38632502eaae3820587"}, + {file = "numpy-2.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:529af13c5f4b7a932fb0e1911d3a75da204eff023ee5e0e79c1751564221a5c8"}, + {file = "numpy-2.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6790654cb13eab303d8402354fabd47472b24635700f631f041bd0b65e37298a"}, + {file = "numpy-2.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:cbab9fc9c391700e3e1287666dfd82d8666d10e69a6c4a09ab97574c0b7ee0a7"}, + {file = "numpy-2.0.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:99d0d92a5e3613c33a5f01db206a33f8fdf3d71f2912b0de1739894668b7a93b"}, + {file = "numpy-2.0.1-cp312-cp312-win32.whl", hash = "sha256:173a00b9995f73b79eb0191129f2455f1e34c203f559dd118636858cc452a1bf"}, + {file = "numpy-2.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:bb2124fdc6e62baae159ebcfa368708867eb56806804d005860b6007388df171"}, + {file = "numpy-2.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:bfc085b28d62ff4009364e7ca34b80a9a080cbd97c2c0630bb5f7f770dae9414"}, + {file = "numpy-2.0.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:8fae4ebbf95a179c1156fab0b142b74e4ba4204c87bde8d3d8b6f9c34c5825ef"}, + {file = "numpy-2.0.1-cp39-cp39-macosx_14_0_arm64.whl", hash = "sha256:72dc22e9ec8f6eaa206deb1b1355eb2e253899d7347f5e2fae5f0af613741d06"}, + {file = "numpy-2.0.1-cp39-cp39-macosx_14_0_x86_64.whl", hash = "sha256:ec87f5f8aca726117a1c9b7083e7656a9d0d606eec7299cc067bb83d26f16e0c"}, + {file = "numpy-2.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1f682ea61a88479d9498bf2091fdcd722b090724b08b31d63e022adc063bad59"}, + {file = "numpy-2.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8efc84f01c1cd7e34b3fb310183e72fcdf55293ee736d679b6d35b35d80bba26"}, + {file = "numpy-2.0.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:3fdabe3e2a52bc4eff8dc7a5044342f8bd9f11ef0934fcd3289a788c0eb10018"}, + {file = "numpy-2.0.1-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:24a0e1befbfa14615b49ba9659d3d8818a0f4d8a1c5822af8696706fbda7310c"}, + {file = "numpy-2.0.1-cp39-cp39-win32.whl", hash = "sha256:f9cf5ea551aec449206954b075db819f52adc1638d46a6738253a712d553c7b4"}, + {file = "numpy-2.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:e9e81fa9017eaa416c056e5d9e71be93d05e2c3c2ab308d23307a8bc4443c368"}, + {file = "numpy-2.0.1-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:61728fba1e464f789b11deb78a57805c70b2ed02343560456190d0501ba37b0f"}, + {file = "numpy-2.0.1-pp39-pypy39_pp73-macosx_14_0_x86_64.whl", hash = "sha256:12f5d865d60fb9734e60a60f1d5afa6d962d8d4467c120a1c0cda6eb2964437d"}, + {file = "numpy-2.0.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eacf3291e263d5a67d8c1a581a8ebbcfd6447204ef58828caf69a5e3e8c75990"}, + {file = "numpy-2.0.1-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:2c3a346ae20cfd80b6cfd3e60dc179963ef2ea58da5ec074fd3d9e7a1e7ba97f"}, + {file = "numpy-2.0.1.tar.gz", hash = "sha256:485b87235796410c3519a699cfe1faab097e509e90ebb05dcd098db2ae87e7b3"}, + ] [[package]] @@ -791,13 +794,13 @@ files = [ [[package]] name = "pure-eval" -version = "0.2.2" +version = "0.2.3" description = "Safely evaluate AST nodes without side effects" optional = false python-versions = "*" files = [ - {file = "pure_eval-0.2.2-py3-none-any.whl", hash = "sha256:01eaab343580944bc56080ebe0a674b39ec44a945e6d09ba7db3cb8cec289350"}, - {file = "pure_eval-0.2.2.tar.gz", hash = "sha256:2b45320af6dfaa1750f543d714b6d1c520a1688dec6fd24d339063ce0aaa9ac3"}, + {file = "pure_eval-0.2.3-py3-none-any.whl", hash = "sha256:1db8e35b67b3d218d818ae653e27f06c3aa420901fa7b081ca98cbedc874e0d0"}, + {file = "pure_eval-0.2.3.tar.gz", hash = "sha256:5f4e983f40564c576c7c8635ae88db5956bb2229d7e9237d03b3c0b0190eaf42"}, ] [package.extras] @@ -975,13 +978,13 @@ windows-terminal = ["colorama (>=0.4.6)"] [[package]] name = "pytest" -version = "8.2.2" +version = "8.3.2" description = "pytest: simple powerful testing with Python" optional = false python-versions = ">=3.8" files = [ - {file = "pytest-8.2.2-py3-none-any.whl", hash = "sha256:c434598117762e2bd304e526244f67bf66bbd7b5d6cf22138be51ff661980343"}, - {file = "pytest-8.2.2.tar.gz", hash = "sha256:de4bb8104e201939ccdc688b27a89a7be2079b22e2bd2b07f806b6ba71117977"}, + {file = "pytest-8.3.2-py3-none-any.whl", hash = "sha256:4ba08f9ae7dcf84ded419494d229b48d0903ea6407b030eaec46df5e6a73bba5"}, + {file = "pytest-8.3.2.tar.gz", hash = "sha256:c132345d12ce551242c87269de812483f5bcc87cdbb4722e48487ba194f9fdce"}, ] [package.dependencies] @@ -989,7 +992,7 @@ colorama = {version = "*", markers = "sys_platform == \"win32\""} exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} iniconfig = "*" packaging = "*" -pluggy = ">=1.5,<2.0" +pluggy = ">=1.5,<2" tomli = {version = ">=1", markers = "python_version < \"3.11\""} [package.extras] diff --git a/pyproject.toml b/pyproject.toml index 606d724..8fd5958 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "hdforce" -version= "1.1.1" +version= "1.1.2" description = "Get your data from the Hawkin Dynamics API" authors = ["laureng-hd "] readme = "README.md" diff --git a/tests/test_CreateAthlete.py b/tests/test_CreateAthlete.py index 5f39999..e80b57e 100644 --- a/tests/test_CreateAthlete.py +++ b/tests/test_CreateAthlete.py @@ -124,4 +124,3 @@ def test_CreateAthletes_failure(mock_post): assert len(response['failures']) == 1 assert 'Duplicate or Invalid Athlete Name' in response['failures'] assert response['failures']['Duplicate or Invalid Athlete Name'][0] == f"Name_{formatted_time}" - diff --git a/tests/test_GetAthlete.py b/tests/test_GetAthlete.py index d6317bb..5daf306 100644 --- a/tests/test_GetAthlete.py +++ b/tests/test_GetAthlete.py @@ -26,4 +26,4 @@ def test_GetAthletes_env(): # Check response is DataFrame assert isinstance(players, pd.DataFrame) - assert isinstance(players.attrs["Count"], int) + assert isinstance(players.attrs["Count"], int) \ No newline at end of file diff --git a/tests/test_GetGroups.py b/tests/test_GetGroups.py index e500691..c1b2a5a 100644 --- a/tests/test_GetGroups.py +++ b/tests/test_GetGroups.py @@ -26,4 +26,4 @@ def test_GetGroups_env(): # Check response is DataFrame assert isinstance(groups, pd.DataFrame) - assert isinstance(groups.attrs['Count'], int) + assert isinstance(groups.attrs['Count'], int) \ No newline at end of file diff --git a/tests/test_GetMetrics.py b/tests/test_GetMetrics.py index 549044e..4a8bf12 100644 --- a/tests/test_GetMetrics.py +++ b/tests/test_GetMetrics.py @@ -26,4 +26,4 @@ def test_GetMetrics_env(): # Check response is DataFrame assert isinstance(metrics, pd.DataFrame) - assert isinstance(metrics.attrs['Count'], int) + assert isinstance(metrics.attrs['Count'], int) \ No newline at end of file diff --git a/tests/test_GetTestsAth.py b/tests/test_GetTestsAth.py index e2231fc..04aaf5e 100644 --- a/tests/test_GetTestsAth.py +++ b/tests/test_GetTestsAth.py @@ -30,4 +30,4 @@ def test_GetTestsAth_env(): assert isinstance(response, pd.DataFrame) assert isinstance(response.attrs['Count'], int) assert isinstance(response.attrs['Last Sync'], int) - assert isinstance(response.attrs['Last Test Time'], int) + assert isinstance(response.attrs['Last Test Time'], int) \ No newline at end of file