Skip to content

Commit

Permalink
Expose SignerHandle in gl-client-py
Browse files Browse the repository at this point in the history
The `SignerHandle` isn't exposed in the native-bindings.
However, the `glclient.pyi` file explicitly mentions the handle should
be their.
  • Loading branch information
ErikDeSmedt committed Feb 28, 2024
1 parent 9b6001c commit 2851f26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/gl-client-py/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mod lsps;

pub use node::Node;
pub use scheduler::Scheduler;
pub use signer::Signer;
pub use signer::{Signer, SignerHandle};
pub use tls::TlsConfig;
pub use lsps::LspClient;

Expand All @@ -36,6 +36,7 @@ pub fn backup_decrypt_with_seed(encrypted: Vec<u8>, seed: Vec<u8>) -> PyResult<V
fn glclient(_py: Python, m: &PyModule) -> PyResult<()> {
env_logger::init();
m.add_class::<Signer>()?;
m.add_class::<SignerHandle>()?;
m.add_class::<Node>()?;
m.add_class::<Scheduler>()?;
m.add_class::<TlsConfig>()?;
Expand Down

0 comments on commit 2851f26

Please sign in to comment.