MCPcopy
hub / github.com/indigo-dc/udocker / get

Method get

udocker/utils/curl.py:126–133  ·  view source on GitHub ↗

Get URL using selected implementation Example: get(url, ctimeout=5, timeout=5, header=[]):

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

124 self._geturl.http_proxy = http_proxy
125
126 def get(self, *args, **kwargs):
127 """Get URL using selected implementation
128 Example:
129 get(url, ctimeout=5, timeout=5, header=[]):
130 """
131 if len(args) != 1:
132 raise TypeError('wrong number of arguments')
133 return self._geturl.get(*args, **kwargs)
134
135 def post(self, *args, **kwargs):
136 """POST using selected implementation"""

Callers 15

test_06_getMethod · 0.95
_cdrepoMethod · 0.45
do_mkrepoMethod · 0.45
do_searchMethod · 0.45
do_loadMethod · 0.45
do_saveMethod · 0.45
do_importMethod · 0.45
do_exportMethod · 0.45
do_cloneMethod · 0.45
do_loginMethod · 0.45
do_logoutMethod · 0.45
do_pullMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_06_getMethod · 0.76