surfrdf icon indicating copy to clipboard operation
surfrdf copied to clipboard

Fix: Resource instance factory

Open franzlst opened this issue 4 years ago • 0 comments

The instance factory checked for a list by checking for a __iter__ property. However, URIRef also implements this property, as it is a string type and string can be iterated. It is replaced in this fix by directly checking if the value is a URIRef.

franzlst avatar Oct 21 '20 08:10 franzlst