diff --git a/cratedb_toolkit/model.py b/cratedb_toolkit/model.py index 2360ecd..e90d71b 100644 --- a/cratedb_toolkit/model.py +++ b/cratedb_toolkit/model.py @@ -144,8 +144,8 @@ def navigate(self, source_path: str, target_path: str) -> "AddressPair": source_url_query_parameters = self.source_url.query_params target_url_query_parameters = self.target_url.query_params - source_url = URL(str(self.source_url)) - target_url = URL(str(self.target_url)) + source_url = deepcopy(self.source_url) + target_url = deepcopy(self.target_url) # Q: What the hack? # A: It makes subsequent `.navigate()` operations work.