Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Upload Python Package

on:
release:
types: [published, created]
types: [published]

jobs:
deploy:
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Trigger publish package github action only when a released is published
- Async inference example: longer `sleep()` duration when polling for inference status

### Fixed

- Removed a forgotten and redundant `print`

## [1.13.0] - 2025-05-21

### Changed
Expand Down
1 change: 0 additions & 1 deletion datacrunch/containers/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,6 @@ def get_secrets(self) -> List[Secret]:
List[Secret]: List of all secrets.
"""
response = self.client.get(SECRETS_ENDPOINT)
print(response.json())
return [Secret.from_dict(secret) for secret in response.json()]

def create_secret(self, name: str, value: str) -> None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# Poll for status until completion
while async_inference_execution.status() != AsyncStatus.Completed:
print(async_inference_execution.status_json())
sleep(1)
sleep(5)

# Print the response
print(async_inference_execution.output())