Skip to content

Commit d023fca

Browse files
committed
Improve docblock
1 parent 1ea5ae8 commit d023fca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/apify/_actor.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,10 @@ async def charge(self, event_name: str, count: int = 1) -> ChargeResult:
557557
"""Charge for a specified number of events - sub-operations of the Actor.
558558
559559
This is relevant only for the pay-per-event pricing model.
560+
561+
Args:
562+
event_name: Name of the event to be charged for.
563+
count: Number of events to charge for.
560564
"""
561565
self._raise_if_not_initialized()
562566
return await self._charging_manager.charge(event_name, count)

0 commit comments

Comments
 (0)