MCPcopy Index your code
hub / github.com/apache/airflow / _write_string_args

Method _write_string_args

airflow/operators/python.py:414–416  ·  view source on GitHub ↗
(self, filename)

Source from the content-addressed store, hash-verified

412 return serializable_context_keys
413
414 def _write_string_args(self, filename):
415 with open(filename, 'w') as file:
416 file.write('\n'.join(map(str, self.string_args)))
417
418 def _read_result(self, filename):
419 if os.stat(filename).st_size == 0:

Callers 1

execute_callableMethod · 0.95

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected