vesoft-inc / nebula-python

Client API of Nebula Graph in Python
191 stars 75 forks source link

Found a bug in current branch #265

Closed autumnalK closed 1 year ago

autumnalK commented 1 year ago

nebula3/sclient/GraphStorageClient.py (line 91)

return self.meta_cache.get_space_addrs(space_name)

When I try to use the get_space_addrs method, it reported "'GraphStorageClient' object has no attribute 'meta_cache'". I read the code and found u called meta_cache instead of _meta_cache here.

wey-gu commented 1 year ago

Great catch! @autumnalK would you mind PR to fix this? before that you could do sclient. _meta_cache.get_space_addrs(space_name) to get it :)