Relationship strength (V1)¶
Service for querying relationship strengths.
Source code in affinity/services/v1_only.py
1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 | |
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
1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 | |