databricks / cli

Databricks CLI
Other
132 stars 50 forks source link

PythonMutator: replace stdin/stdout with files #1512

Closed kanterov closed 3 months ago

kanterov commented 3 months ago

Changes

Replace stdin/stdout with files in PythonMutator. Files are created in a temporary directory.

Rename ApplyPythonMutator to PythonMutator.

Add test for dyn.Location behavior during the "load" stage.

Tests

Unit tests

kanterov commented 3 months ago

@pietern thanks for taking a look; I've replied in comment threads. I can change the defer block if you think we should despite swallowing the error. Otherwise, can you please add it to the merge queue?