truera / trulens

Evaluation and Tracking for LLM Experiments
https://www.trulens.org/
MIT License
2.17k stars 189 forks source link

Move print message up to not invoke error when we can't create a tag. #1634

Closed sfc-gh-dkurokawa closed 1 week ago

sfc-gh-dkurokawa commented 1 week ago

Description

Move print message up to not invoke error when we can't create a tag.

Other details good to know for developers

This was put into the 1.2.4 but it wasn't put it in main due to the time crunch.

Type of change


[!IMPORTANT] Move print statement in _init_with_snowpark_session to prevent error when setting tag fails.

  • Behavior:
    • Move print statement in _init_with_snowpark_session in connector.py to execute before potential exception.
    • Prevents error when setting TruLens workspace version tag fails.

This description was created by Ellipsis for e15b105defb8a02b498f5773ec05e8319b38855e. It will automatically update as commits are pushed.