Skip to content

Commit

Permalink
Merge branch 'mainline' into dev/richard/polars
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-rogers authored Nov 29, 2024
2 parents cd21e2d + f123399 commit 74490c5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
id: cpr
uses: peter-evans/create-pull-request@v4.1.1
with:
token: ${{ secrets.VERSION_UPDATE_WHYLOGS }}
token: ${{ secrets.VERSION_UPDATE }}
commit-message: Update version to ${{ env.VERSION }}
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Expand Down
6 changes: 3 additions & 3 deletions python/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ whylogs-sketching = ">=3.4.1.dev3"
protobuf = ">=3.19.4"
importlib-metadata = { version = "<4.3", python = "<3.8" }
typing-extensions = { version = ">=3.10", markers = "python_version < \"4\""}
whylabs-client = "^0.6.5"
whylabs-client = "^0.6.15"
requests = "^2.27"
backoff = "^2.2.1"
platformdirs = "^3.5.0"
Expand Down
1 change: 1 addition & 0 deletions python/whylogs/api/writer/whylabs.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ def _get_writer(self, writer_type) -> WhyLabsWriterBase:
None, # self._whylabs_client._api_client, # TODO: handle custom client
self._whylabs_client._ssl_ca_cert, # type: ignore
self._whylabs_client._timeout_seconds, # type: ignore
self._whylabs_client, # type: ignore
)

@deprecated_alias(profile="file")
Expand Down
2 changes: 1 addition & 1 deletion python/whylogs/api/writer/whylabs_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ def _post_log_async(
jitter=backoff.full_jitter,
)
def do_request():
return log_api.log_async(org_id=self._org_id, dataset_id=self._dataset_id, log_async_request=request)
return log_api.log_profile(x_whylabs_resource=self._dataset_id, log_async_request=request)

try:
result = do_request()
Expand Down

0 comments on commit 74490c5

Please sign in to comment.