From 25f68ec0236198666ad635f4f163cfd84cbb7647 Mon Sep 17 00:00:00 2001 From: Daniel Alley Date: Tue, 22 Sep 2026 12:13:07 -0400 Subject: [PATCH] Add kwargs parameter to extra fields methods --- pulpcore/app/replica.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pulpcore/app/replica.py b/pulpcore/app/replica.py index 6eb55fa3c02..7d7f46a2f7c 100644 --- a/pulpcore/app/replica.py +++ b/pulpcore/app/replica.py @@ -107,7 +107,7 @@ def labels(self, upstream_object): def url(self, upstream_distribution): return upstream_distribution["base_url"] - def remote_extra_fields(self, upstream_distribution): + def remote_extra_fields(self, upstream_distribution, **kwargs): return {} def create_or_update_remote(self, upstream_distribution): @@ -148,7 +148,7 @@ def create_or_update_remote(self, upstream_distribution): return remote - def repository_extra_fields(self, remote): + def repository_extra_fields(self, remote, **kwargs): return {} def create_or_update_repository(self, remote): @@ -175,7 +175,7 @@ def create_or_update_repository(self, remote): repository.save() return repository - def distribution_extra_fields(self, repository, upstream_distribution): + def distribution_extra_fields(self, repository, upstream_distribution, **kwargs): """ Return the fields that need to be updated/cleared on distributions for idempotence.