This is the object that is returned by the PilotDataService when a new
PilotData is created based on a PilotDataDescription. A PilotData
represents a finite amount of physical space on a certain resource. It
can be populated with DataUnits.
The PilotData object can be used by the application to keep track of a
pilot. A PilotData has state, can be queried, can be cancelled.
|
__init__(self,
pilot_data_service=None,
pilot_data_description=None,
pd_url=None)
Initialize PilotData at given service url: |
source code
|
|
|
|
|
|
|
url_for_du(self,
du)
Get full URL to DataUnit within PilotData |
source code
|
|
|
submit_data_unit(self,
data_unit_description)
creates a data unit object and initially imports data specified in
data_unit_description |
source code
|
|
|
list_data_units(self)
List all data units of Pilot Data |
source code
|
|
|
|
|
get_du(self,
du_url)
Returns Data Unit if part of Pilot Data |
source code
|
|
|
wait(self)
Wait until PD enters a final state (Done, Canceled or Failed). |
source code
|
|
|
export_du(self,
du,
target_url)
Export Data Unit to a local directory |
source code
|
|
|
put_du(self,
du)
Copy Data Unit to Pilot Data |
source code
|
|
|
remove_du(self,
du)
Remove Data Unit from Pilot Data |
source code
|
|
|
copy_du(self,
du,
pd_new)
Copy DataUnit to another Pilot Data |
source code
|
|
|
create_du(self,
du)
Create a new Data Unit within Pilot |
source code
|
|
|
to_dict(self)
Internal method that returns a dict with all data contained in this
Pilot Data |
source code
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|