remove print statements

This commit is contained in:
Mira Weller
2025-04-03 13:43:29 +02:00
parent a8acd976e1
commit e863ac23ca
2 changed files with 0 additions and 3 deletions

View File

@@ -66,7 +66,6 @@ class PropertyMappingForm(forms.Form):
self.fields["overwrite"].choices = [
(key, label) for (key, label) in self.fields["overwrite"].choices if key in available_modes
]
print(self.fields)
class PropertyMappingFormSet(formset_factory(

View File

@@ -165,12 +165,10 @@ class FakeSyncAPI:
t = self.fake_database[table]
for idx, record in enumerate(t):
if record.get(search_by_attribute) == search_for_value:
print("match:",table,idx,search_by_attribute,search_for_value,record)
return {**record, "_id": idx}
return None
def create_or_update_object(self, table, record):
print("upsert", table, record)
t = self.fake_database[table]
if record.get("_id") is not None:
t[record["_id"]].update(record)