gremlin python - add multiple but an unknown number of properties to a vertex
问题 I want to add more than one property to a vertex, but from the outset do not explicitly know what those properties might be. For example, say for one person to be added as vertex to the graph, we have the following property dictionary: Person 1 { "id": 1, "first_name": "bob", "age": 25, "height": 177 } Maybe for another vertex to be added, a person has the following properties: Person 2 { "id": 2, "first_name": "joe", "surname": "bloggs", "occupation": "lawyer", "birthday": "12 September" }