MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / __init__

Method __init__

web/pgadmin/misc/bgprocess/process_executor.py:159–175  ·  view source on GitHub ↗

This method is use to initialize the ProcessLogger class object Args: stream_type: Type of STD (std) Returns: None

(self, stream_type)

Source from the content-addressed store, hash-verified

157 """
158
159 def __init__(self, stream_type):
160 """
161 This method is use to initialize the ProcessLogger class object
162
163 Args:
164 stream_type: Type of STD (std)
165
166 Returns:
167 None
168 """
169 import codecs
170
171 Thread.__init__(self)
172 self.process = None
173 self.stream = None
174 self.logger = open(os.path.join(_out_dir, stream_type), 'wb',
175 buffering=0)
176
177 def attach_process_stream(self, process, stream):
178 """

Callers

nothing calls this directly

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected