geodesic.entanglement.object.get_predicates¶
- geodesic.entanglement.object.get_predicates(trait=None, refresh=False)[source]¶
Gets all registered predicate names (with no trait information). Good for a quick look into what predicate names are available to you. If a trait is specified, gets only predicates for that given trait.
- Parameters
trait – a trait name to check for predicate names
refresh – by default, these names are cached. If you want to grab the latest from the server, set refresh to True
- Returns
a list of Predicate objects. These can be used (or copied) to form Connections