Skip to content

Commit 8fd861b

Browse files
committed
Refactor code to enable exporting individual records for different types
1 parent 8e25a00 commit 8fd861b

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

main.py

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -42,33 +42,33 @@
4242
# print(headers)
4343

4444
collections = [
45-
# {
46-
# "function": export_ind,
47-
# "method": "ExportInd",
48-
# "params": {
49-
# **ensa_infos,
50-
# "type": "etd",
51-
# "id": "*",
52-
# },
53-
# },
54-
# {
55-
# "function": export_ind,
56-
# "method": "ExportInd",
57-
# "params": {
58-
# **ensa_infos,
59-
# "type": "adm",
60-
# "id": "*",
61-
# },
62-
# },
63-
# {
64-
# "function": export_ind,
65-
# "method": "ExportInd",
66-
# "params": {
67-
# **ensa_infos,
68-
# "type": "esn",
69-
# "id": "*",
70-
# },
71-
# },
45+
{
46+
"function": export_ind,
47+
"method": "ExportInd",
48+
"params": {
49+
**ensa_infos,
50+
"type": "etd",
51+
"id": "*",
52+
},
53+
},
54+
{
55+
"function": export_ind,
56+
"method": "ExportInd",
57+
"params": {
58+
**ensa_infos,
59+
"type": "adm",
60+
"id": "*",
61+
},
62+
},
63+
{
64+
"function": export_ind,
65+
"method": "ExportInd",
66+
"params": {
67+
**ensa_infos,
68+
"type": "esn",
69+
"id": "*",
70+
},
71+
},
7272
{
7373
"function": export_pictures,
7474
"method": "ExportPhotos",

0 commit comments

Comments
 (0)