Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-pylib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-pylib
Commits
f3889610
Commit
f3889610
authored
1 year ago
by
Henrik tom Wörden
Browse files
Options
Downloads
Patches
Plain Diff
FIX: add version
parent
f666f7a8
No related branches found
Branches containing commit
No related tags found
1 merge request
!111
MAINT: LinkAhead rename
Pipeline
#41210
passed
1 year ago
Stage: code_style
Stage: linting
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/caosdb/__init__.py
+9
-1
9 additions, 1 deletion
src/caosdb/__init__.py
with
9 additions
and
1 deletion
src/caosdb/__init__.py
+
9
−
1
View file @
f3889610
from
linkahead
import
*
from
warnings
import
warn
from
linkahead
import
*
try
:
from
linkahead
import
version
from
linkahead.version
import
version
as
__version__
except
ModuleNotFoundError
:
version
=
"
uninstalled
"
__version__
=
version
warn
((
"
CaosDB was renamed to LinkAhead. Please import this library as `import linkahead`. Using the
"
"
old name, starting with caosdb, is deprecated.
"
),
DeprecationWarning
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment