-
Notifications
You must be signed in to change notification settings - Fork 2
UserList
Documentation > UserList
A User List is a collection of Users for whom the retrieving User has billing responsibility, and who were created using the Amatino API.
The User List excludes Users managed by the billing dashboard. See the User object documentation page for a description of the distinction between API-created users and those managed by the billing dashboard.
UserList complies with the Python Sequence protocol, meaning you can iterate over constituent Users, call len(), and access elements by integer subscript.
The time at which this UserList was computed.
The total number of pages required to display the entire UserList. Each UserList instance represents a single page.
Example: 3
The single page this UserList represents.
Example: 1
A list of Users.
The state of the Users in this UserList, either State.ALL, State.DELETED, or State.ACTIVE.
Example: State.ACTIVE
Boolean indication of whether there are more pages to retrieve to fully display this UserList.
Example: False
Return a newly created User.
- session - Session
- state - State enum
- page -
_int_ = 1
from amatino import State, UserList
user_list = UserList.retrieve(
session=session,
state=State.ACTIVE
)