User

class User

Used to list and reference resources (e.g., datasets, projects) owned by a particular user. If referencing resources owned by another user, you will only be able to see entities that you have access to.

Constructors

redivis.user(user_name)

Construct a reference to a user based on their (case-insensitive) username.

Examples

user = redivis.user("imathews")

# List all datasets
datasets = user.list_datasets()

# Create a reference to a specific dataset
dataset = user.dataset("test_dataset")

Methods

user.dataset(dataset_name[, ...])

Construct a reference to a dataset owned by the user.

user.list_datasets([max_results])

List all visible datasets owned by the user.

user.project(project_name)

Construct a reference to a project owned by the user.

user.list_projects([max_results])

List all visible projects owned by the user.

Last updated