File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/apify_client/clients/resource_clients Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -237,6 +237,7 @@ def charge(
237237 """Charge for an event of a Pay-Per-Event Actor run.
238238
239239 TODO: docs url
240+ https://github.com/apify/apify-client-python/issues/305
240241
241242 Returns:
242243 dict: Status and message of the charge event.
@@ -258,7 +259,7 @@ def charge(
258259 }
259260 ),
260261 )
261- return response .json ()
262+ return parse_date_fields ( pluck_data ( response .json ()) )
262263
263264
264265class RunClientAsync (ActorJobBaseClientAsync ):
@@ -484,6 +485,7 @@ async def charge(
484485 """Charge for an event of a Pay-Per-Event Actor run.
485486
486487 TODO: docs url
488+ https://github.com/apify/apify-client-python/issues/305
487489
488490 Returns:
489491 dict: Status and message of the charge event.
@@ -505,4 +507,4 @@ async def charge(
505507 }
506508 ),
507509 )
508- return response .json ()
510+ return parse_date_fields ( pluck_data ( response .json ()) )
You can’t perform that action at this time.
0 commit comments