Closed dmikhalin closed 11 months ago
We replace the direct implementation of the client side of the TypeDB protocol in Python with native calls to the Rust client over FFI.
TypeDBClient
ClusterClient
Client
Remote
Concept
Transaction
Value
Attribute.<Type>
Attribute
Session
Do not edit the content of this comment. The PR reviewer should simply update this comment by ticking each review item below, as they get completed.
Trivial Change
Code
Architecture
What is the goal of this PR?
We replace the direct implementation of the client side of the TypeDB protocol in Python with native calls to the Rust client over FFI.
What are the changes implemented in this PR?
TypeDBClient
andClusterClient
into singleClient
, following the protocol merge;Remote
variants ofConcept
s; Concept API calls now require aTransaction
to be provided;Value
"generic" over its value type, which allows us to collapse all theAttribute.<Type>
s into a singleAttribute
class;Client
,Session
,Concept
, etc.) with its native representation on the Rust side;