Requestclient
RequestClient(rucio_host=None, auth_host=None, account=None, ca_cert=None, auth_type=None, creds=None, timeout=600, user_agent='rucio-clients', vo=None, logger=LOG)
¶
list_requests(src_rse, dst_rse, request_states)
¶
Return latest request details
Returns:
Type | Description |
---|---|
Iterator[dict[str, Any]]
|
request information |
list_requests_history(src_rse, dst_rse, request_states, offset=0, limit=100)
¶
Return historical request details
Returns:
Type | Description |
---|---|
Iterator[dict[str, Any]]
|
request information |
list_request_by_did(name, rse, scope=None)
¶
Return latest request details for a DID
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name
|
str
|
DID |
required |
rse
|
str
|
Destination RSE name |
required |
scope
|
Optional[str]
|
rucio scope, defaults to None |
None
|
Returns:
Type | Description |
---|---|
Iterator[dict[str, Any]]
|
request information |
Raises:
Type | Description |
---|---|
exc_cls
|
from BaseClient._get_exception |
list_request_history_by_did(name, rse, scope=None)
¶
Return latest request details for a DID
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name
|
str
|
DID |
required |
rse
|
str
|
Destination RSE name |
required |
scope
|
Optional[str]
|
rucio scope, defaults to None |
None
|
Returns:
Type | Description |
---|---|
Iterator[dict[str, Any]]
|
request information |
Raises:
Type | Description |
---|---|
exc_cls
|
from BaseClient._get_exception |