pages
pages ¶
Page management and collection operations.
DomoPages
dataclass
¶
DomoPages(auth: DomoAuth, pages: list[Any] = None)
Bases: DomoManager
Manager for listing every page in an instance.
Attributes:
| Name | Type | Description |
|---|---|---|
auth |
DomoAuth
|
Authenticated Domo session. |
pages |
list[Any]
|
Cached list from the last |
get
async
¶
get(**kwargs)
calls get_admin_summary to retrieve all pages in an instance
Source code in src/crew_dcs/classes/DomoPage/pages.py
27 28 29 | |
get_admin_summary
async
¶
get_admin_summary(
search_title: str | None = None,
parent_page_id: int | None = None,
return_raw: bool = False,
debug_api: bool = False,
session: AsyncClient = None,
*,
context: RouteContext | None = None,
**context_kwargs,
)
use admin_summary to retrieve all pages in an instance -- regardless of user access NOTE: some Page APIs will not return results if page access isn't explicitly shared
Calls route
Source code in src/crew_dcs/classes/DomoPage/pages.py
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | |