b537890a9c4538d75abd6e875b6721c0cf874319,catalyst/rl/db/mongo.py,MongoDB,get_trajectory,#MongoDB#Any#,40
Before Change
)
if trajectory_obj is not None:
trajectory = trajectory_obj["trajectory"]
trajectory = self._unpack(trajectory)
self._last_datetime = trajectory_obj["date"]
else:
trajectory = None
return trajectory
After Change
trajectory, trajectory_epoch = \
unpack(trajectory_obj["trajectory"]), trajectory_obj["epoch"]
if self._sync_epoch and self._epoch != trajectory_epoch:
trajectory = None
else:
trajectory = None
return trajectory
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: catalyst-team/catalyst
Commit Name: b537890a9c4538d75abd6e875b6721c0cf874319
Time: 2019-05-12
Author: scitator@gmail.com
File Name: catalyst/rl/db/mongo.py
Class Name: MongoDB
Method Name: get_trajectory
Project Name: Scitator/catalyst
Commit Name: e4f74872136455a5991da5f26120b495d4195ca1
Time: 2019-05-02
Author: scitator@gmail.com
File Name: catalyst/rl/db/redis.py
Class Name: RedisDB
Method Name: get_trajectory