Primary/Foreign Key from Relationship Class

Discussion created by bangel on Nov 22, 2013
Latest reply on Dec 2, 2013 by bangel
I was able to get the relationshipClassNames property to work (thanks Xander!), but did not realize the relationshipClass property did not have a primary and foreign key field. 

arcpy.Describe(arcpy.MakeTableView_management(table, table + "_view")).relationshipClassNames:

I tried using some code from this thread, but get an empty value [].

fields = arcpy.Describe(relationshipName).fields
print fields

Any ideas on how to get the primary/foreign keys from a relationship class?