Traceback (most recent call last):


 "test.py", line 22, in <module>

run_sync(url)


 "test.py", line 10, in run_sync

with httpx.Client(verify=False, proxies=proxy) as client:


 ".../lib/python3.6/site-packages/httpx/client.py", line 479, in __init__

for key, proxy in proxy_map.items()


 "../lib/python3.6/site-packages/httpx/client.py", line 479, in <dictcomp>

for key, proxy in proxy_map.items()


 "../lib/python3.6/site-packages/httpx/client.py", line 514, in init_proxy_dispatch

trust_env=trust_env,


 "../lib/python3.6/site-packages/httpx/dispatch/urllib3.py", line 60, in __init__

block=block,


 "../lib/python3.6/site-packages/httpx/dispatch/urllib3.py", line 85, in init_pool_manager

block=block,


 "../lib/python3.6/site-packages/urllib3/poolmanager.py", line 414, in __init__

proxy = parse_url(proxy_url)


 "../lib/python3.6/site-packages/urllib3/util/url.py", line 363, in parse_url

if not SCHEME_RE.search(url):
TypeError: expected string or bytes-like object

Traceback (most recent call last):


 "/Users/bolonzhang/Desktop/yiqin/ditu.py", line 33, in <module>

map.add("",city_name,np.array(patients_num),is_map_symbol_show=True,maptype="china", is_visualmap=True, visual_text_color='#000',
TypeError: add() got multiple values for argument 'maptype'
