Skip to content

Commit 32e6548

Browse files
vdusekclaude
andcommitted
fix: Remove incorrect resource_id requirement from LogClient
LogClient is a sub-resource client (e.g. /actor-runs/{id}/log) that does not receive its own resource_id from callers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8d86838 commit 32e6548

File tree

1 file changed

+0
-4
lines changed
  • src/apify_client/_resource_clients

1 file changed

+0
-4
lines changed

src/apify_client/_resource_clients/log.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,10 @@ class LogClient(ResourceClient):
2525
def __init__(
2626
self,
2727
*,
28-
resource_id: str,
2928
resource_path: str = 'logs',
3029
**kwargs: Any,
3130
) -> None:
3231
super().__init__(
33-
resource_id=resource_id,
3432
resource_path=resource_path,
3533
**kwargs,
3634
)
@@ -126,12 +124,10 @@ class LogClientAsync(ResourceClientAsync):
126124
def __init__(
127125
self,
128126
*,
129-
resource_id: str,
130127
resource_path: str = 'logs',
131128
**kwargs: Any,
132129
) -> None:
133130
super().__init__(
134-
resource_id=resource_id,
135131
resource_path=resource_path,
136132
**kwargs,
137133
)

0 commit comments

Comments
 (0)