mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
create the python sdk to return version (#1039)
### What problem does this PR solve? Create python SDK to return the version of RAGFlow. ### Type of change - [x] New Feature (non-breaking change which adds functionality) --------- Co-authored-by: cecilia-uu <konghui1996@163.com>
This commit is contained in:
8
SDK/python/test/test_basic.py
Normal file
8
SDK/python/test/test_basic.py
Normal file
@ -0,0 +1,8 @@
|
||||
from test_sdkbase import TestSdk
|
||||
import ragflow
|
||||
import pytest
|
||||
|
||||
|
||||
class TestCase(TestSdk):
|
||||
def test_version(self):
|
||||
print(ragflow.__version__)
|
||||
Reference in New Issue
Block a user