MCPcopy Index your code
hub / github.com/FedML-AI/FedML / get_request_params

Function get_request_params

python/fedml/core/mlops/__init__.py:851–861  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

849
850
851def get_request_params(args):
852 url = fedml._get_backend_service()
853
854 cert_path = None
855 if str(url).startswith("https://"):
856 cur_source_dir = os.path.dirname(__file__)
857 cert_path = os.path.join(
858 cur_source_dir, "ssl", "open-" + config_version + ".fedml.ai_bundle.crt"
859 )
860
861 return url, cert_path
862
863
864def on_log_mqtt_disconnected(mqtt_client_object):

Callers 2

create_projectFunction · 0.85
create_runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected