Skip to content

Commit 34cd9d8

Browse files
committed
Charging manager docstring
1 parent de967ae commit 34cd9d8

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/apify/_charging.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,16 @@
2727

2828
@docs_group('Charging')
2929
class ChargingManager(Protocol):
30-
"""Provides fine-grained access to pay-per-event functionality."""
30+
"""Provides fine-grained access to pay-per-event functionality.
31+
32+
The ChargingManager allows you to charge for specific events in your Actor when using
33+
the pay-per-event pricing model. This enables precise cost control and transparent
34+
billing for different operations within your Actor.
35+
36+
### References
37+
38+
- Apify platform documentation: https://docs.apify.com/platform/actors/publishing/monetize
39+
"""
3140

3241
async def charge(self, event_name: str, count: int = 1) -> ChargeResult:
3342
"""Charge for a specified number of events - sub-operations of the Actor.

0 commit comments

Comments
 (0)