File tree Expand file tree Collapse file tree 1 file changed +0
-35
lines changed
Expand file tree Collapse file tree 1 file changed +0
-35
lines changed Original file line number Diff line number Diff line change 2828 "Content-Type" : "application/json; charset=utf-8" ,
2929}
3030
31- ensa_pass = os .getenv ('STC_API_PASSENSA' ) + datetime .now ().strftime ('%Y%m%d' )
32- ensa_infos = {
33- "code_ensa" : os .getenv ('STC_API_CODEENSA' , 'lyon' ),
34- "pass_ensa" : hashlib .sha1 (ensa_pass .encode ()).hexdigest (),
35- }
36-
37- collections = [
38- {
39- "function" : export_ind ,
40- "method" : "ExportInd" ,
41- "params" : {
42- ** ensa_infos ,
43- "type" : "etd" ,
44- "id" : "*" ,
45- },
46- },
47- {
48- "function" : export_ind ,
49- "method" : "ExportInd" ,
50- "params" : {
51- ** ensa_infos ,
52- "type" : "adm" ,
53- "id" : "*" ,
54- },
55- },
56- {
57- "function" : export_ind ,
58- "method" : "ExportInd" ,
59- "params" : {
60- ** ensa_infos ,
61- "type" : "esn" ,
62- "id" : "*" ,
63- },
64- },
65- ]
6631
6732
6833async def main ():
You can’t perform that action at this time.
0 commit comments