Skip to content

Conversation

@pyansys-ci-bot
Copy link
Collaborator

An update of generated code has been triggered either manually or by an update in the dpf-standalone repository.

@pyansys-ci-bot pyansys-ci-bot requested a review from a team as a code owner March 4, 2025 10:24
@pyansys-ci-bot pyansys-ci-bot added the server-sync DO NOT USE, Related to automatic synchronization with the server label Mar 4, 2025
@codecov
Copy link

codecov bot commented Mar 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.51%. Comparing base (5869092) to head (a8784ef).
Report is 1 commits behind head on feat/handle_pin_aliases.

Additional details and impacted files
@@                     Coverage Diff                     @@
##           feat/handle_pin_aliases    #2129      +/-   ##
===========================================================
+ Coverage                    86.46%   86.51%   +0.04%     
===========================================================
  Files                           90       90              
  Lines                        10300    10300              
===========================================================
+ Hits                          8906     8911       +5     
+ Misses                        1394     1389       -5     

@PProfizi PProfizi merged commit 106e8c0 into feat/handle_pin_aliases Mar 4, 2025
42 of 45 checks passed
@PProfizi PProfizi deleted the maint/update_code_for_252_daily_on_feat/handle_pin_aliases branch March 4, 2025 11:06
PProfizi added a commit that referenced this pull request Mar 4, 2025
PProfizi added a commit that referenced this pull request Mar 4, 2025
* Expose aliases in Input, Output, and PinSpecification

* Add alias to template and operator code generation

* Handle retro in Specification

* Expose alias in operator_specification_grpcapi.py

* Try getattr in template

* Handle default __getattr__

* Add a deprecation warning when using pin aliases

* Fix Specification doctests

* Limit changes to operators with aliases

* Fix retro compatibility condition

* Make operator_specification_get_pin_num_aliases retro-compatible

* Remove server version check

* Revert "Remove server version check"

This reverts commit 143aa6e.

* Add server version check

* Do not remove translator.py during code_generation.py

* Add default value to variable for error reporting in build.py

* Add aliases as valid operator inputs in the signature

* Fix indent in operator.mustache

* Fix indentation in operator.mustache

* Print server path for operator generation

* Limit tests to mac operator

* Add aliases to operator signature

* Fix dict creation

* Revert "Limit tests to mac operator"

This reverts commit 1537c46.

* update generated code (#2129)

Co-authored-by: PProfizi <[email protected]>

* Remove redundant code following rebase

* Reactivate retro testing for test_animation.py and test_animator.py

* Add deprecation warning when using an alias as operator instantiation parameter

* Add test_specification.py with test_pin_alias

* update generated code (#2131)

Co-authored-by: PProfizi <[email protected]>

* Skip test_pin_alias during retro tests

---------

Co-authored-by: PyAnsys CI Bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

server-sync DO NOT USE, Related to automatic synchronization with the server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants