I have a Feature Service Item on Portal with Item ID = wedr22sdb7242378c833730c9sss2sauf
now I need to find out all Maps, Views, Apps and ... which are using this (or are dependent to this item) item
item = gis.content.get('wedr22sdb7242378c833730c9sss2sauf')
dependent_items = item.dependent_to()
for dependent_item in dependent_items:
print(dependent_item)
but I am getting this error message, in retune
AttributeError: 'NoneType' object has no attribute 'dependent_to'
Can you please let me know what I am missing or doing wrong?