File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ def trigger(
27
27
28
28
data (dict): Any data to be passed to the notify call.
29
29
30
- tenant (str): An optional identifier for the tenant object that the notifications belong to.
30
+ tenant (str | dict[str, Any]): An optional reference for the tenant that the notifications belong to. This can be A) a tenant
31
+ id, B) an object reference without the collection, or C) a dictionary with data to identify a tenant.
31
32
32
33
cancellation_key (str): A key used to cancel this notify.
33
34
@@ -97,7 +98,8 @@ def create_schedules(
97
98
98
99
scheduled_at (datetime): Date when the schedule must start
99
100
100
- tenant (str): An optional identifier for the tenant object that the notifications belong to.
101
+ tenant (str | dict[str, Any]): An optional reference for the tenant that the notifications belong to. This can be A) a tenant
102
+ id, B) an object reference without the collection, or C) a dictionary with data to identify a tenant.
101
103
102
104
Returns:
103
105
list[dict]: list of created schedules
You can’t perform that action at this time.
0 commit comments