Relationship strength (V1)¶
Service for querying relationship strengths.
Source code in affinity/services/v1_only.py
973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 | |
get(external_id: PersonId, internal_id: UserId | None = None) -> list[RelationshipStrength]
¶
Get relationship strength(s) for an external person.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
external_id
|
PersonId
|
External person to query |
required |
internal_id
|
UserId | None
|
Optional internal person for specific relationship |
None
|
Returns:
| Type | Description |
|---|---|
list[RelationshipStrength]
|
List of relationship strengths (may be empty) |
Source code in affinity/services/v1_only.py
979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 | |