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: 2 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## in progress

- Connectors: Updated to Asana client v5

## 2026/06/25 v0.4.0

- Maintenance: Refactored module namespace. If you are using omniload
Expand Down
7 changes: 5 additions & 2 deletions omniload/source/asana/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@

"""Asana source helpers"""

from asana import Client as AsanaClient
from asana import ApiClient as AsanaClient
from asana import Configuration


def get_client(
Expand All @@ -27,4 +28,6 @@ def get_client(
Returns:
AsanaClient: The Asana API client.
"""
return AsanaClient.access_token(access_token)
configuration = Configuration()
configuration.access_token = access_token
return AsanaClient(configuration=configuration)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ classifiers = [
dynamic = [ "version" ]
dependencies = [
"aiohttp<4",
"asana<3.3",
"asana<6",
"click<8.5",
"clickhouse-connect>=0.8,<2",
"clickhouse-driver<0.3",
Expand Down
Loading