Skip to content

Commit d51d624

Browse files
Clean up Driver field, update core artifact to 3.0.6
1 parent 8f11990 commit d51d624

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

dependencies/typedb/artifacts.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def typedb_artifact():
2525
artifact_name = "typedb-all-{platform}-{version}.{ext}",
2626
tag_source = deployment["artifact"]["release"]["download"],
2727
commit_source = deployment["artifact"]["snapshot"]["download"],
28-
commit = "3a5fe020b18839b8b24d6a5a21e35ce55430086d"
28+
tag = "3.0.6"
2929
)
3030

3131
#def typedb_cloud_artifact():

rust/src/driver.rs

-7
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ pub struct TypeDBDriver {
4141
database_manager: DatabaseManager,
4242
user_manager: UserManager,
4343
background_runtime: Arc<BackgroundRuntime>,
44-
username: Option<String>,
4544
is_cloud: bool,
4645
}
4746

@@ -130,7 +129,6 @@ impl TypeDBDriver {
130129
database_manager,
131130
user_manager,
132131
background_runtime,
133-
username: None,
134132
is_cloud: false,
135133
})
136134
}
@@ -281,7 +279,6 @@ impl TypeDBDriver {
281279
// Ok(Connection {
282280
// server_connections,
283281
// background_runtime,
284-
// username: Some(credential.username().to_owned()),
285282
// is_cloud: true,
286283
// })
287284
// }
@@ -404,10 +401,6 @@ impl TypeDBDriver {
404401
self.server_connections.iter()
405402
}
406403

407-
pub(crate) fn username(&self) -> Option<&str> {
408-
self.username.as_deref()
409-
}
410-
411404
pub(crate) fn unable_to_connect_error(&self) -> Error {
412405
Error::Connection(ConnectionError::ServerConnectionFailed {
413406
addresses: self.servers().map(Address::clone).collect_vec(),

0 commit comments

Comments
 (0)