0.2.1
Member
Package: flyteplugins.union.remote
Represents a Union organization member (user or application).
class Member(
pb2: EnrichedIdentity,
)| Parameter | Type | Description |
|---|---|---|
pb2 |
EnrichedIdentity |
Properties
| Property | Type | Description |
|---|---|---|
identity_type |
None |
|
is_application |
None |
|
is_user |
None |
|
name |
None |
|
subject |
None |
Methods
| Method | Description |
|---|---|
listall() |
List all members in the organization. |
to_dict() |
Convert the object to a JSON-serializable dictionary. |
to_json() |
Convert the object to a JSON string. |
listall()
Default invocation is sync and will block.
To call it asynchronously, use the function .aio() on the method name itself, e.g.,:
result = await Member.listall.aio().
def listall(
cls,
) -> AsyncIterator[Member]List all members in the organization.
| Parameter | Type | Description |
|---|---|---|
cls |
to_dict()
def to_dict()Convert the object to a JSON-serializable dictionary.
Returns: dict: A dictionary representation of the object.
to_json()
def to_json()Convert the object to a JSON string.
Returns: str: A JSON string representation of the object.