Skip to content

chore: replace inspect.stack with sys._getframe#1433

Merged
cosmin-staicu merged 1 commit intomainfrom
fix/inspect_stack
Mar 11, 2026
Merged

chore: replace inspect.stack with sys._getframe#1433
cosmin-staicu merged 1 commit intomainfrom
fix/inspect_stack

Conversation

@cosmin-staicu
Copy link
Member

Uses sys._getframe instead of inspect.stack() to avoid walking the entire stack and reading source files

@cosmin-staicu cosmin-staicu self-assigned this Mar 11, 2026
@cosmin-staicu cosmin-staicu requested a review from ionmincu March 11, 2026 14:46
@github-actions github-actions bot added the test:uipath-langchain Triggers tests in the uipath-langchain-python repository label Mar 11, 2026
@cosmin-staicu cosmin-staicu force-pushed the fix/inspect_stack branch 5 times, most recently from b03f706 to d8593b3 Compare March 11, 2026 16:11
@cosmin-staicu cosmin-staicu requested review from cosmyo March 11, 2026 16:12
@cosmin-staicu cosmin-staicu force-pushed the fix/inspect_stack branch 4 times, most recently from 347d293 to 30f36cd Compare March 11, 2026 18:02
@cosmin-staicu cosmin-staicu merged commit 0673c42 into main Mar 11, 2026
113 checks passed
@cosmin-staicu cosmin-staicu deleted the fix/inspect_stack branch March 11, 2026 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:uipath-langchain Triggers tests in the uipath-langchain-python repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants