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

Emit license session #3856

Merged
merged 22 commits into from
Dec 1, 2023
Merged

Emit license session #3856

merged 22 commits into from
Dec 1, 2023

Conversation

bryankaylor
Copy link
Contributor

Exposes the EMIT API's new license_session object through pyaedt starting with 24R2.

Without it, when doing many runs, the license has to be checked in and out every time.
With it, the user controls when checkout and checkin happen and can do any number of runs between.

Also adds a new test verifying the license session is faster than individual runs for a test project.

@ansys-reviewer-bot
Copy link
Contributor

Thanks for opening a Pull Request. If you want to perform a review write a comment saying:

@ansys-reviewer-bot review

Copy link

codecov bot commented Nov 8, 2023

Codecov Report

Merging #3856 (7c875ce) into main (ba5169b) will decrease coverage by 0.01%.
The diff coverage is 33.33%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3856      +/-   ##
==========================================
- Coverage   81.31%   81.30%   -0.01%     
==========================================
  Files         182      182              
  Lines       63051    63054       +3     
==========================================
+ Hits        51268    51269       +1     
- Misses      11783    11785       +2     

@bryankaylor
Copy link
Contributor Author

Thanks for the review @PipKat - I've applied your edits.

@PipKat
Copy link
Member

PipKat commented Nov 9, 2023 via email

@jsalant22 jsalant22 enabled auto-merge (squash) November 30, 2023 15:24
@jsalant22 jsalant22 merged commit 0521483 into main Dec 1, 2023
10 of 11 checks passed
@jsalant22 jsalant22 deleted the emit-license-session branch December 1, 2023 07:06
@Samuelopez-ansys
Copy link
Member

@jsalant22 This branch was automatically merged after I approved it. Please check if everything is correct. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants