10/08/23 - 16h
parent
6450813533
commit
f0b3626064
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="08/08/2023 - 16h">
|
||||
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="09/08/2023 - 21h">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Log/log_file.log" beforeDir="false" afterPath="$PROJECT_DIR$/Log/log_file.log" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Session_Formation.py" beforeDir="false" afterPath="$PROJECT_DIR$/Session_Formation.py" afterDir="false" />
|
||||
|
@ -68,13 +68,6 @@
|
|||
<option name="presentableId" value="Default" />
|
||||
<updated>1680804787304</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00013" summary="25/04/23 - 21h">
|
||||
<created>1682451543498</created>
|
||||
<option name="number" value="00013" />
|
||||
<option name="presentableId" value="LOCAL-00013" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1682451543498</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00014" summary="25/04/23 - 21h">
|
||||
<created>1682612087897</created>
|
||||
<option name="number" value="00014" />
|
||||
|
@ -411,7 +404,14 @@
|
|||
<option name="project" value="LOCAL" />
|
||||
<updated>1691504850588</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="62" />
|
||||
<task id="LOCAL-00062" summary="09/08/2023 - 21h">
|
||||
<created>1691607124367</created>
|
||||
<option name="number" value="00062" />
|
||||
<option name="presentableId" value="LOCAL-00062" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1691607124367</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="63" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="Vcs.Log.Tabs.Properties">
|
||||
|
@ -426,7 +426,6 @@
|
|||
</option>
|
||||
</component>
|
||||
<component name="VcsManagerConfiguration">
|
||||
<MESSAGE value="04/07/23 - 10h" />
|
||||
<MESSAGE value="04/07/23 - 17h" />
|
||||
<MESSAGE value="05/07/23 - 12h" />
|
||||
<MESSAGE value="05/07/23 - 20h" />
|
||||
|
@ -451,6 +450,7 @@
|
|||
<MESSAGE value="05/08/23 - 16h" />
|
||||
<MESSAGE value="06/08/23 - 23h" />
|
||||
<MESSAGE value="08/08/2023 - 16h" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="08/08/2023 - 16h" />
|
||||
<MESSAGE value="09/08/2023 - 21h" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="09/08/2023 - 21h" />
|
||||
</component>
|
||||
</project>
|
2977
Log/log_file.log
2977
Log/log_file.log
File diff suppressed because it is too large
Load Diff
|
@ -352,16 +352,24 @@ def GetSessionFormation(diction):
|
|||
code_session = diction['code_session']
|
||||
|
||||
coll_session = MYSY_GV.dbname['session_formation']
|
||||
myquery = {}
|
||||
myquery['code_session'] = code_session
|
||||
myquery['class_internal_url'] = class_internal_url
|
||||
|
||||
myquery = [{'$match':{'code_session':code_session, 'class_internal_url':class_internal_url}},
|
||||
{'$lookup':
|
||||
{
|
||||
'from': 'myclass',
|
||||
'localField': 'class_internal_url',
|
||||
'foreignField': 'internal_url',
|
||||
'pipeline': [{'$project': {'title': 1}}],
|
||||
'as': 'myclass'
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
print(" ##### myquery GetSessionFormation = "+str(myquery))
|
||||
RetObject = []
|
||||
|
||||
nb_val = 0
|
||||
for retval in coll_session.find(myquery):
|
||||
for retval in coll_session.aggregate(myquery):
|
||||
#print(" ##### retval = " + str(retval))
|
||||
nb_val = nb_val + 1
|
||||
RetObject.append(mycommon.JSONEncoder().encode(retval))
|
||||
|
|
Loading…
Reference in New Issue