MCPcopy Create free account
hub / github.com/c-jimenez/open-ocpp / __init__

Method __init__

tools/json2cpp/json2cpp.py:205–226  ·  view source on GitHub ↗

Constructor

(self)

Source from the content-addressed store, hash-verified

203 '''
204
205 def __init__(self):
206 '''
207 Constructor
208 '''
209
210 self.name = ""
211 ''' Name of the message '''
212
213 self.id = ""
214 ''' Id of the message definition '''
215
216 self.comment = ""
217 ''' Comment of the message definition '''
218
219 self.request = Request()
220 ''' Request '''
221
222 self.response = Request()
223 ''' Response '''
224
225 self.types = {}
226 ''' Dictionnary of the request and response types '''
227
228def check_dir_exists(dir, path) -> bool:
229 '''

Callers

nothing calls this directly

Calls 1

RequestClass · 0.85

Tested by

no test coverage detected