Skip to content

Commit ffaf134

Browse files
committed
Docstrings
1 parent c3ad441 commit ffaf134

2 files changed

Lines changed: 20 additions & 18 deletions

File tree

bbblb/cli/tenant.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -203,18 +203,19 @@ async def override(
203203
Tenant overrides affect the parameters of `create` or `join` API
204204
calls coming from a tenant.
205205
206-
You can --set any number of overrides per tenant as PARAM=VALUE
207-
pairs. PARAM should match a BBB API parameter supported by the
208-
given type (`create` or `join`) and VALUE will be enforced on all
209-
future API calls issued by this tenant. If VALUE is empty, then
206+
You can `--set` any number of overrides per tenant as `PARAM=VALUE`
207+
pairs. `PARAM` should match a BBB API parameter supported by the
208+
given type (`create` or `join`) and `VALUE` will be enforced on all
209+
future API calls issued by this tenant. If `VALUE` is empty, then
210210
the parameter will be removed from API calls.
211211
212-
Instead of the '=' operator you can also use '?' to define a
213-
fallback for missing parameters, '<' to define a maximum value for
214-
numeric parameters (e.g. duration or maxParticipants), or '+' to
215-
add items to a list-type parameter (e.g. disabledFeatures).
212+
Instead of the `=` operator you can also use `PARAM?VALUE` to define
213+
a fallback for missing parameters, `PARAM<VALUE` to define a maximum
214+
value for numeric parameters (e.g. 'duration' or 'maxParticipants'),
215+
or `PARAM+VALUE` to add items to a list-type parameter
216+
(e.g. 'disabledFeatures').
216217
217-
Example: --set record=false --set duration<40
218+
Example: `--set record=false --set duration<40`
218219
"""
219220
db = await obj.use(DBContext)
220221
async with db.session() as session:

docs/_generated/_click.rst

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -568,18 +568,19 @@ Manage tenant overrides.
568568
Tenant overrides affect the parameters of `create` or `join` API
569569
calls coming from a tenant.
570570

571-
You can --set any number of overrides per tenant as PARAM=VALUE
572-
pairs. PARAM should match a BBB API parameter supported by the
573-
given type (`create` or `join`) and VALUE will be enforced on all
574-
future API calls issued by this tenant. If VALUE is empty, then
571+
You can `--set` any number of overrides per tenant as `PARAM=VALUE`
572+
pairs. `PARAM` should match a BBB API parameter supported by the
573+
given type (`create` or `join`) and `VALUE` will be enforced on all
574+
future API calls issued by this tenant. If `VALUE` is empty, then
575575
the parameter will be removed from API calls.
576576

577-
Instead of the '=' operator you can also use '?' to define a
578-
fallback for missing parameters, '<' to define a maximum value for
579-
numeric parameters (e.g. duration or maxParticipants), or '+' to
580-
add items to a list-type parameter (e.g. disabledFeatures).
577+
Instead of the `=` operator you can also use `PARAM?VALUE` to define
578+
a fallback for missing parameters, `PARAM<VALUE` to define a maximum
579+
value for numeric parameters (e.g. 'duration' or 'maxParticipants'),
580+
or `PARAM+VALUE` to add items to a list-type parameter
581+
(e.g. 'disabledFeatures').
581582

582-
Example: --set record=false --set duration<40
583+
Example: `--set record=false --set duration<40`
583584

584585
.. table:: Options
585586
:width: 100%

0 commit comments

Comments
 (0)