MCPcopy Index your code
hub / github.com/algorithmiaio/algorithmia-python / get_environment_by_language

Method get_environment_by_language

Algorithmia/CLI.py:293–297  ·  view source on GitHub ↗
(self, language, client)

Source from the content-addressed store, hash-verified

291 print("at least one of the operands must be a path to a remote data source data://")
292
293 def get_environment_by_language(self, language, client):
294 response = client.get_environment(language)
295 if "error" in response:
296 return json.dumps(response)
297 return json.dumps(response['environments'], indent=1)
298
299 def list_languages(self, client):
300 response = client.get_supported_languages()

Callers 2

mainFunction · 0.80
test_get_environmentMethod · 0.80

Calls 1

get_environmentMethod · 0.80

Tested by 1

test_get_environmentMethod · 0.64