MCPcopy Create free account
hub / github.com/baidu/bigflow / add_file

Method add_file

bigflow_python/python/bigflow/runtime/python_resource.py:50–74  ·  view source on GitHub ↗

Add a single file to be packed with the job at runtime. Args: file_path (str): path of file to add resource_path (str): path of file at runtime executable (bool): if True, the file can be executed Raises: ValueError: If invalid ar

(self, file_path, resource_path=None, executable=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 2

appendMethod · 0.80
addMethod · 0.45