Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement event AccountState in Rust pyo3 #1447

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

filipmacek
Copy link
Member

Pull Request

  • continue rust AccountState event and export it with rust pyo3 and test it properly

@filipmacek filipmacek added the rust Relating to the Rust core label Jan 12, 2024
@filipmacek filipmacek self-assigned this Jan 12, 2024
@filipmacek filipmacek changed the title implement Account state in Rust pyo3 Implement Account state in Rust pyo3 Jan 12, 2024
@filipmacek filipmacek changed the title Implement Account state in Rust pyo3 Implement event Accountstate in Rust pyo3 Jan 12, 2024
@@ -66,7 +66,7 @@ impl AccountBalance {
}

#[pyo3(name = "to_dict")]
fn py_to_dict(&self, py: Python<'_>) -> PyResult<PyObject> {
pub fn py_to_dict(&self, py: Python<'_>) -> PyResult<PyObject> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the pub access modifier will only affect Rust, anything in pymethods will be exposed to Python.

@cjdsellers cjdsellers changed the title Implement event Accountstate in Rust pyo3 Implement event AccountState in Rust pyo3 Jan 12, 2024
@cjdsellers cjdsellers merged commit a1a42b1 into develop Jan 12, 2024
11 checks passed
@cjdsellers cjdsellers deleted the account-state-rust-pyo3 branch January 12, 2024 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rust Relating to the Rust core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants