Did I find the right examples for you? yes no

All Samples(4)  |  Call(3)  |  Derive(0)  |  Import(1)

src/w/h/whoops-0.2.1/whoops/__main__.py   whoops(Download)
#!/usr/bin/env python
 
from whoops import WebHDFS, WebHDFSError, HOST, PORT, __version__
from requests import ConnectionError
 
    user = args.user or environ.get('WEBHDFS_USER') or None
 
    fs = WebHDFS(host, port, user=user)
 
    try:

src/l/u/luigi-1.0.13/luigi/webhdfs.py   luigi(Download)
        port = defaults['port']
 
    return whoops.WebHDFS(host, port, user=os.environ['USER'] if 'USER' in os.environ else None)
 
 

src/l/u/luigi-HEAD/luigi/webhdfs.py   luigi(Download)
        port = defaults['port']
 
    return whoops.WebHDFS(host, port, user=os.environ['USER'] if 'USER' in os.environ else None)