Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ str_
Function
str_
library/python/testing/import_test/import_test.py:35–36 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
33
34
if
not isinstance(b
''
, str):
35
def
str_(s):
36
return
s.decode(
'UTF-8'
)
37
else
:
38
def
str_(s):
39
return
s
Callers
1
check_imports
Function · 0.85
Calls
1
decode
Method · 0.45
Tested by
no test coverage detected