pyapacheatlas.core.client.PurviewClient.upload_relationship#

PurviewClient.upload_relationship(relationship)#

Upload a AtlasRelationship json. Should take the form of the following:

{
    "typeName": "hive_table_columns",
    "attributes": {},
    "guid": -100,
    "end1": {
        "guid": assignments["-1"]
    },
    "end2": {
        "guid": assignments["-5"]
        }
}
Parameters

relationship (dict) – The relationship you want to upload.

Returns

The results of your relationship upload.

Return type

dict