MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / to_dict

Method to_dict

code2flow/model.py:427–436  ·  view source on GitHub ↗

Output for json files (json graph specification) :rtype: dict

(self)

Source from the content-addressed store, hash-verified

425 return ret
426
427 def to_dict(self):
428 """
429 Output for json files (json graph specification)
430 :rtype: dict
431 """
432 return {
433 'uid': self.uid,
434 'label': self.label(),
435 'name': self.name(),
436 }
437
438
439def _wrap_as_variables(sequence):

Callers 1

generate_jsonFunction · 0.45

Calls 2

labelMethod · 0.95
nameMethod · 0.95

Tested by

no test coverage detected