Skip to content

Conversation

@chaosddp
Copy link
Contributor

@chaosddp chaosddp commented Aug 12, 2025

Description

When adding node to graph, we have to repeat the functions 'get_node' and 'find_node' in branches, with assignment expression we can avoid repeated function call, make a little faster.

Motivation and Context

How Has This Been Tested?

  • If you are adding a new feature, test on your own test scripts.

Screenshots of Test Results (if appropriate):

  1. Your own tests:

Types of changes

  • Fix bugs
  • Add new feature
  • Update documentation

📚 Documentation preview 📚: https://RDAgent--1174.org.readthedocs.build/en/1174/

@you-n-g you-n-g merged commit b4f57ce into microsoft:main Aug 13, 2025
5 checks passed
licong01-cloud pushed a commit to licong01-cloud/RD-Agent that referenced this pull request Dec 13, 2025
…ll (microsoft#1174)

* using assignment expression to avoid repeated function call

* format
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.

2 participants