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
c3df1624
Commit
c3df1624
authored
1 year ago
by
Alexander Schlemmer
Browse files
Options
Downloads
Patches
Plain Diff
MAINT: removed unneeded imports
parent
5b87b596
No related branches found
No related tags found
2 merge requests
!107
ENH: add entity getters and cached functions
,
!104
Cleanup apiutils module a bit and move git related functions to another module
Pipeline
#36405
passed with warnings
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/apiutils.py
+6
-9
6 additions, 9 deletions
src/caosdb/apiutils.py
with
6 additions
and
9 deletions
src/caosdb/apiutils.py
+
6
−
9
View file @
c3df1624
...
...
@@ -27,22 +27,19 @@
"""
import
logging
import
sys
import
tempfile
import
warnings
from
collections.abc
import
Iterable
from
subprocess
import
call
from
typing
import
Optional
,
Any
,
Dict
,
List
from
typing
import
Any
,
Dict
,
List
from
caosdb.common.datatype
import
(
BOOLEAN
,
DATETIME
,
DOUBLE
,
FILE
,
INTEGER
,
REFERENCE
,
TEXT
,
is_reference
)
from
caosdb.common.models
import
(
Container
,
Entity
,
File
,
Property
,
Query
,
from
caosdb.common.datatype
import
is_reference
from
caosdb.common.models
import
(
Container
,
Entity
,
File
,
Property
,
Record
,
RecordType
,
execute_query
,
get_config
,
SPECIAL_ATTRIBUTES
)
SPECIAL_ATTRIBUTES
)
from
caosdb.exceptions
import
CaosDBException
from
utils.git_utils
import
get_origin_url_in
,
get_diff_in
,
get_branch_in
,
get_commit_in
from
caosdb.utils.git_utils
import
(
get_origin_url_in
,
get_diff_in
,
get_branch_in
,
get_commit_in
)
logger
=
logging
.
getLogger
(
__name__
)
...
...
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