diff --git a/libs/community/google/youtube/garf/community/google/youtube/api_clients.py b/libs/community/google/youtube/garf/community/google/youtube/api_clients.py index a086f88..3bfb3fc 100644 --- a/libs/community/google/youtube/garf/community/google/youtube/api_clients.py +++ b/libs/community/google/youtube/garf/community/google/youtube/api_clients.py @@ -74,7 +74,7 @@ def service(self): return self._service return build('youtube', self.api_version, developerKey=self.api_key) - def get_types(self, request): + def get_types(self, request, **kwargs: str): fields = {field.split('.')[0] for field in request.fields} return self.infer_types('Video', fields) diff --git a/libs/community/google/youtube/pyproject.toml b/libs/community/google/youtube/pyproject.toml index bf9571d..e47467d 100644 --- a/libs/community/google/youtube/pyproject.toml +++ b/libs/community/google/youtube/pyproject.toml @@ -31,6 +31,9 @@ version = {attr = "garf.community.google.youtube.__version__"} youtube-data-api = "garf.community.google.youtube.report_fetcher" youtube-analytics = "garf.community.google.youtube.report_fetcher" +[project.entry-points.garf_simulator] +youtube-data-api = "garf.community.google.youtube.simulator" + [project.optional-dependencies] test = [ "pytest",