Searched refs:session_creator (Results 1 – 10 of 10) sorted by relevance
403 session_creator = worker_context.session_creator(409 session_creator=session_creator,524 session_creator = WorkerSessionCreator(530 session_creator=session_creator,537 session_creator = ChiefSessionCreator(574 session_creator=session_creator,687 session_creator, argument708 if not session_creator and worker_context:709 session_creator = worker_context.session_creator()713 session_creator=session_creator or ChiefSessionCreator(),[all …]
879 session_creator = StackSessionCreator(sess)883 self.assertEqual(3, len(session_creator.sessions_to_use))886 recoverable_sess = monitored_session._RecoverableSession(session_creator)888 2, len(session_creator.sessions_to_use)) # One session popped.892 2, len(session_creator.sessions_to_use)) # Still 2 sessions available896 1, len(session_creator.sessions_to_use)) # Still 1 session available899 1, len(session_creator.sessions_to_use)) # Still 1 session available903 0, len(session_creator.sessions_to_use)) # All sessions used.913 session_creator = CountingSessionCreator(test_session)915 session_creator,[all …]
260 session_creator = monitored_session.ChiefSessionCreator(271 session_creator=session_creator, hooks=hooks) as session:
88 session_creator = training.ChiefSessionCreator()89 with training.MonitoredSession(session_creator=session_creator) as sess:
440 session_creator = monitored_session.ChiefSessionCreator(447 session_creator=session_creator, hooks=hooks) as session:
63 session_creator=monitored_session.ChiefSessionCreator(
75 session_creator=monitored_session.ChiefSessionCreator(
16 …argspec: "args=[\'self\', \'session_creator\', \'hooks\', \'stop_grace_period_secs\'], varargs=Non…
218 def session_creator(self, member in _WorkerContext
971 session_creator=monitored_session.ChiefSessionCreator(