@@ -55,6 +55,7 @@ def get_source( # noqa: PLR0913 # Too many arguments
5555 local_executable : Path | str | None = None ,
5656 docker_image : bool | str | None = None ,
5757 use_host_network : bool = False ,
58+ runas_host_user : bool = False ,
5859 source_manifest : bool | dict | Path | str | None = None ,
5960 install_if_missing : bool = True ,
6061 install_root : Path | None = None ,
@@ -95,6 +96,9 @@ def get_source( # noqa: PLR0913 # Too many arguments
9596 the host network. This is useful for connectors that need to access resources on
9697 the host machine, such as a local database. This parameter is ignored when
9798 `docker_image` is not set.
99+ runas_host_user: If set, along with docker_image, the connector will be executed using the
100+ host's user UID/GID. This is useful to handle container privileges (such as files
101+ permissions). This parameter is ignored when `docker_image` is not set.
98102 source_manifest: If set, the connector will be executed based on a declarative YAML
99103 source definition. This input can be `True` to attempt to auto-download a YAML spec,
100104 `dict` to accept a Python dictionary as the manifest, `Path` to pull a manifest from
@@ -116,6 +120,7 @@ def get_source( # noqa: PLR0913 # Too many arguments
116120 local_executable = local_executable ,
117121 docker_image = docker_image ,
118122 use_host_network = use_host_network ,
123+ runas_host_user = runas_host_user ,
119124 source_manifest = source_manifest ,
120125 install_if_missing = install_if_missing ,
121126 install_root = install_root ,
0 commit comments