Skip to content
Snippets Groups Projects

Cleanup apiutils module a bit and move git related functions to another module

Merged Alexander Schlemmer requested to merge f-git-utils into dev
1 file
+ 6
9
Compare changes
  • Side-by-side
  • Inline
+ 6
9
@@ -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__)
Loading