You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: metadata-ingestion/src/datahub/configuration/git.py
+7-1
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,11 @@ class GitReference(ConfigModel):
24
24
"main",
25
25
description="Branch on which your files live by default. Typically main or master. This can also be a commit hash.",
26
26
)
27
-
27
+
url_subdir: Optional[str] =Field(
28
+
default=None,
29
+
description="Prefix to prepend when generating URLs for files - useful when files are in a subdirectory. "
30
+
"Only affects URL generation, not git operations.",
31
+
)
28
32
url_template: Optional[str] =Field(
29
33
None,
30
34
description=f"Template for generating a URL to a file in the repo e.g. '{_GITHUB_URL_TEMPLATE}'. We can infer this for GitHub and GitLab repos, and it is otherwise required."
0 commit comments