Skip to content

Commit

Permalink
pyfunc docs
Browse files Browse the repository at this point in the history
  • Loading branch information
calgray committed May 26, 2022
1 parent 9fda4d1 commit b9f5eac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion daliuge-engine/test/test_droputils.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

from dlg import droputils
from dlg.common import dropdict, Categories
from dlg.drop import InMemoryDROP, FileDROP, BarrierAppDROP, PlasmaDROP, SharedMemoryDROP
from dlg.drop import InMemoryDROP, FileDROP, BarrierAppDROP, PlasmaDROP
from dlg.droputils import DROPFile


Expand Down
16 changes: 7 additions & 9 deletions docs/development/app_development/pyfunc_components.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,14 @@ Port Parsers

Pyfunc components when interfacing with data drops may utilize one of several builtin port parsing formats.

* Pickle
* Eval
* Path
* Url
* Npy
* Pickle - Reads and writes data to pickle format
* Eval - Reads data using eval() function and writes using repr() function
* Npy - Reads and writes to .npy format
* Path - Reads the drop path rather than data
* Url - Reads the drop url rather than data

Basic setup
-----------

Note
----
""""

Only a single parser and
Only a single port parser can currently be used for all input ports of a Pyfunc. This is subject to change in future.

0 comments on commit b9f5eac

Please sign in to comment.