MCPcopy Create free account
hub / github.com/catboost/catboost / get_port

Method get_port

library/python/port_manager/__init__.py:52–56  ·  view source on GitHub ↗

Gets free TCP port

(self, port=0)

Source from the content-addressed store, hash-verified

50 self.release()
51
52 def get_port(self, port=0):
53 '''
54 Gets free TCP port
55 '''
56 return self.get_tcp_port(port)
57
58 def get_tcp_port(self, port=0):
59 '''

Callers 1

execute_catboost_distFunction · 0.80

Calls 1

get_tcp_portMethod · 0.95

Tested by

no test coverage detected