New PyModule Set method by Andrew1Medvedev · Pull Request #2323 · pythonnet/pythonnet
Repository navigation
New PyModule Set method - #2323
Closed
Andrew1Medvedev wants to merge 1 commit into pythonnet:master from Andrew1Medvedev:feature-branch
Closed
New PyModule Set method #2323 Andrew1Medvedev wants to merge 1 commit into pythonnet:master from Andrew1Medvedev:feature-branch
Conversation
Andrew1Medvedev commented Feb 15, 2024
Copy link Copy Markdown
What does this implement/fix? Explain your changes.
...
Does this close any currently open issues?
...
Any other comments?
...
Checklist
Check all those that are applicable and complete.
- Make sure to include one or more tests for your change
- If an enhancement PR, please create docs and at best an example
- Ensure you have signed the .NET Foundation CLA
- Add yourself to
AUTHORS - Updated the
CHANGELOG
New PyModule Set method
1ee0ac8
dmitry-medvedev
mentioned this pull request
Feb 19, 2024
Allow setting typed objects via PyModule.Set
#2311
Closed
lostmsu commented Feb 27, 2024
Copy link Copy Markdown
Member
|
Hey guys, can you review this instead: #2330 The intent is to use it via pyModule.Set("foo", myObject.ToPythonAs<IBar>());
|
dmitry-medvedev commented Feb 27, 2024
Copy link Copy Markdown
|
We used the suggested approach and it seems to work fine on our tests. |
lostmsu commented Feb 28, 2024
Copy link Copy Markdown
Member
|
It should be available in the next preview (~March 6th) |