Skip to content

Commit

Permalink
Merge pull request #1 from linkml/poetry
Browse files Browse the repository at this point in the history
Convert from Pipenv to Poetry & update linkml_model import location
  • Loading branch information
cmungall authored Mar 11, 2022
2 parents afd5b06 + 80d7305 commit 5fbc5f4
Show file tree
Hide file tree
Showing 9 changed files with 1,955 additions and 73 deletions.
21 changes: 0 additions & 21 deletions Pipfile

This file was deleted.

4 changes: 2 additions & 2 deletions linkml_solr/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import logging
import subprocess
from linkml.generators.yamlgen import YAMLGenerator
from linkml_model.meta import SchemaDefinition, SlotDefinitionName
from linkml_runtime.linkml_model.meta import SchemaDefinition, SlotDefinitionName
from linkml_runtime.loaders import yaml_loader
from linkml_solr import SolrQueryEngine, SolrEndpoint, DEFAULT_CORE, DEFAULT_SOLR_URL
from linkml_solr.utils.solr_bulkload import bulkload_file
Expand Down Expand Up @@ -164,4 +164,4 @@ def create_schema(schema, url, core):


if __name__ == '__main__':
main()
main()
2 changes: 1 addition & 1 deletion linkml_solr/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from linkml_runtime.dumpers import json_dumper
from linkml_runtime.utils.formatutils import underscore
from linkml_model.meta import SchemaDefinition, ClassDefinition, YAMLRoot, ElementName, SlotDefinition, SlotDefinitionName
from linkml_runtime.linkml_model.meta import SchemaDefinition, ClassDefinition, YAMLRoot, ElementName, SlotDefinition, SlotDefinitionName

from linkml_solr.solrmodel import SolrEndpoint, SolrQuery, SolrQueryResult, RawSolrResult, FIELD
from linkml_solr.solrschema import Transaction
Expand Down
2 changes: 1 addition & 1 deletion linkml_solr/utils/solr_bulkload.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import logging
import subprocess
from linkml.generators.yamlgen import YAMLGenerator
from linkml_model.meta import SchemaDefinition, SlotDefinitionName
from linkml_runtime.linkml_model.meta import SchemaDefinition, SlotDefinitionName
from linkml_runtime.loaders import yaml_loader
from linkml_solr import SolrQueryEngine, SolrEndpoint

Expand Down
Loading

0 comments on commit 5fbc5f4

Please sign in to comment.