Greeting fellow travellers:
I am querying my portal for feature service types. By default it returns the hosted feature layer and the views on the hosted feature layer. I would like to do something with the hosted feature layers and ignore the hosted feature layer views. Code looks like this:
the_query = "type:Feature Service"
some_content = gis.content.search(query=the_query, max_items=10000, outside_org=False)
for a_layer in some_content:
# do something if it's a hosted feature layer, ignore it if it's a view How do I get just the layers and ignore the views?
Thanks in advance, please and thank you.