I tried the following code based on the documentation of the function:
from factpages_py import Factpages
from factpages_py.analysis import AnalysisMixin
fp = Factpages(data_dir="./factpages_data")
fp.refresh()
print(fp.field_summary('TROLL'))
and got this error:
$ python a.py
Traceback (most recent call last):
File "/opt/a.py", line 10, in <module>
print(fp.field_summary('TROLL'))
^^^^^^^^^^^^^^^^
File "/opt/factpages_py/client.py", line 1941, in __getattr__
raise AttributeError(f"'{type(self).__name__}' has no attribute '{name}'")
AttributeError: 'Factpages' has no attribute 'field_summary'
I tried the following code based on the documentation of the function:
and got this error: