MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / to_json_string

Method to_json_string

fastdeploy/config.py:1364–1368  ·  view source on GitHub ↗

Convert eplb_config to json string.

(self)

Source from the content-addressed store, hash-verified

1362 setattr(self, key, value)
1363
1364 def to_json_string(self):
1365 """
1366 Convert eplb_config to json string.
1367 """
1368 return json.dumps({key: value for key, value in self.__dict__.items() if value is not None})
1369
1370 def print(self):
1371 """

Callers 4

launch_cache_managerMethod · 0.45
launch_cache_messagerMethod · 0.45
_start_worker_serviceMethod · 0.45
_start_worker_serviceMethod · 0.45

Calls 1

itemsMethod · 0.80

Tested by

no test coverage detected