We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d563dec commit ce339e4Copy full SHA for ce339e4
pulpcore/app/importexport.py
@@ -53,7 +53,7 @@ def _write_export(the_tarfile, resource, dest_dir=None):
53
def process_batch(batch):
54
model = resource.queryset.model
55
queryset = model.objects.filter(pk__in=batch)
56
- dataset = resource.export(queryset)
+ dataset = resource.export(queryset=queryset)
57
# Strip "[" and "]" as we are writing the dataset in batch
58
temp_file.write(dataset.json.lstrip("[").rstrip("]"))
59
pyproject.toml
@@ -38,7 +38,7 @@ dependencies = [
38
"Django~=4.2.0", # LTS version, switch only if we have a compelling reason to",
39
"django-filter>=23.1,<=25.1",
40
"django-guid>=3.3,<=3.5.1",
41
- "django-import-export>=2.9,<3.4.0",
+ "django-import-export>=4.3,<5.0",
42
"django-lifecycle>=1.0,<=1.2.4",
43
"djangorestframework>=3.14.0,<=3.15.2",
44
"djangorestframework-queryfields>=1.0,<=1.1.0",
@@ -63,7 +63,7 @@ dependencies = [
63
"python-gnupg>=0.5,<=0.5.4",
64
"PyYAML>=5.1.1,<=6.0.2",
65
"redis>=4.3,<5.2.2",
66
- "tablib<3.6.0",
+ "tablib>=3.7.0,<3.9.0",
67
"url-normalize>=1.4.3,<=1.4.3",
68
"uuid6>=2023.5.2,<=2024.7.10",
69
"whitenoise>=5.0,<6.10.0",
0 commit comments