Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update args that accept a list but have a singular name #409

Open
atmorling opened this issue Feb 6, 2025 · 0 comments
Open

Update args that accept a list but have a singular name #409

atmorling opened this issue Feb 6, 2025 · 0 comments

Comments

@atmorling
Copy link
Contributor

This is known in places like ERIO:

def get_patrols(
self,
since=None,
until=None,
patrol_type=None,
patrol_type_value=None,
status=None,
**addl_kwargs,
):
"""
Parameters
----------
since:
Lower time range
until:
Upper time range
patrol_type:
A patrol type UUID or a list of UUIDs
patrol_type_value:
A patrol type value or a list of patrol type values
status
'scheduled'/'active'/'overdue'/'done'/'cancelled'
Accept a status string or a list of statuses
Returns

But part of this sub-task will be a pass over the entire lib for such occurrences

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant