Trent Shapiro
06/22/2023, 4:58 PMTrent Shapiro
06/22/2023, 5:52 PMfrom prefect.filesystems import GitHub
submodule_block = GitHub.load("submodule-block-name")
submodule_block.get_directory(local_path=submodule_folder_path)
is what i'm doing now, but requires setting up a separate github block for the submodule. wish there was an option to add --recurse-submodules --remote-submodules
to the initial repo cloneBianca Hoch
06/22/2023, 7:51 PMBianca Hoch
06/22/2023, 7:56 PMpull:
- prefect.deployments.steps.git_clone:
repository: <https://github.com/org/repo.git>
include_submodules: true
Trent Shapiro
06/22/2023, 7:59 PMprefect.yaml
is way more condensed. much appreciatedTrent Shapiro
06/22/2023, 8:01 PMprefect init
as an optionBianca Hoch
06/22/2023, 8:04 PM