Glossary¶
Short meanings for the words used on this site. Domo terms are here for the places where crew-dcs uses them in a specific way. Python words are in their own section.
Using crew-dcs¶
Route
: A Python function that makes one Domo API call, such as
get_dataset_by_id. Routes live in crew_dcs.routes. See
How crew-dcs is organised.
Route module
: One file or folder under crew_dcs.routes that holds the routes for one
topic, such as crew_dcs.routes.dataset.
Response object
: What a route returns. It has .response (what Domo sent), .status (the
HTTP status number) and .is_success (True when Domo answered with a
success status).
Class
: A Python object built on routes, such as DomoDataset. It keeps what Domo
told it as attributes. Classes live in crew_dcs.classes.
Entity : A class for one Domo object, such as a DataSet, user or card. Built from what Domo sends back.
Manager
: A class that finds many entities of one kind, such as DomoDatasets.
Subentity
: One part of an entity, such as a DataSet's schema or tags. You reach it
through the entity, for example dataset.Schema.
Relationship controller : A part of an entity that edits who it is shared with or who owns it.
Integration
: A longer job that combines several routes and classes into one task. They
live in crew_dcs.integrations.
auth (auth object)
: Your credential and your Domo instance, bundled. You make one and pass it to
every route and class. DomoTokenAuth is the common one.
Instance
: Your Domo site, named by the first part of its address. For
mycompany.domo.com, the instance is mycompany. crew-dcs asks for it as
domo_instance.
.env file
: A plain text file of NAME=value lines that sits next to your script. It
keeps your token out of your code. Never commit it to git or paste it into a
chat.
debug_api
: An option on every route and many classes. Set it to True to log the
request and response at the DEBUG level, with credentials masked. See
Errors for how to turn the DEBUG level on.
dry_run
: An option that builds the request and returns it without sending it. The
response reports is_dry_run as True, so a pretend write is not mistaken
for a real one.
RouteContext
: The bundle of per-call options such as debug_api, dry_run and session.
You rarely build one. Pass the options as keyword arguments instead.
llms.txt
: A plain-text index of this site for AI agents. See
Using crew-dcs with an AI agent.
Errors¶
DomoError
: The base of every error crew-dcs raises. Catch it to catch them all. See
Errors.
AuthError
: Sign-in or token failed.
RouteError
: Domo answered, and the answer was a failure. Each route module has its own
subclasses, such as Dataset_GET_Error.
TransportError
: No answer arrived at all: a network, DNS or timeout problem.
ClassError
: A problem inside a class, rather than in Domo's answer.
Domo terms as crew-dcs uses them¶
Access token : A token you create in Domo's admin settings that lets a script sign in as you. Domo's name for the place is under Admin, Authentication, Access tokens. Menu names can differ by Domo version.
Developer (client) credentials
: A client ID and secret for an app registered in the Domo Developer Portal.
They suit apps on the Domo developer platform, not admin scripts. crew-dcs
uses them in DomoDeveloperAuth.
DataSet : A table of data in Domo. In code it has an id, a name, a row count and a schema.
Schema : A DataSet's list of columns and their types.
Data version
: One saved batch of a DataSet's rows. Each replace or tagged upload makes one.
Data versions are identified by a number called dataId.
Partition (data tag)
: A text key such as 2025-01 that a data version is saved under when you upload
with a partition_key.
Stream : The connector setup that feeds a DataSet from outside Domo.
Connector : The kind of data source a stream reads from, such as Snowflake or Google Sheets.
Dataflow : A set of steps that turns input DataSets into output DataSets. Magic ETL is Domo's visual builder for them.
Magic ETL action : One tile in a Magic ETL dataflow.
Card : A single chart or table in Domo.
Page : A Domo dashboard that holds cards.
Beast Mode : A calculated field you write in Domo's formula language.
PDP : Personalized Data Permissions. Rules that decide which rows of a DataSet a user or group can see.
Account : A stored set of connector credentials in Domo. It is not a user.
Lineage : How Domo objects feed each other, such as which DataSets feed a card.
Federated : A DataSet or other object that lives in another Domo instance or a cloud data warehouse.
Domo Everywhere : Domo's way to share content with other Domo instances. Content you receive is called published, and you receive it through a subscription.
Jupyter workspace : A Jupyter notebook environment hosted inside Domo. See Managing Jupyter Workspaces.
Sandbox : A Domo instance used for testing before you touch production.
Python words¶
async def and await
: Python's way to wait for a slow job, such as a Domo call, without freezing.
You write await in front of the call, inside a function declared async def.
asyncio.run
: The line that starts an async def function from normal code. It comes with
Python.
Attribute
: A named value on an object, read with a dot, such as dataset.name.
Dictionary
: Named values in curly braces, read with square brackets, such as
res.response["name"].
Context manager (async with)
: A block that sets something up and cleans it up at the end. async with
DomoTokenAuth(...) as auth: closes the connection when the block ends.
try and except
: Python's way to catch an error and decide what to do. See Errors.
Import
: Bringing code from a package into your script, such as
from crew_dcs.auth import DomoTokenAuth.