Skip to content

Commit 9281d80

Browse files
Modify models
1 parent 369cc40 commit 9281d80

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

src/entitysdk/models/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
from entitysdk.models.brain_location import BrainLocation
66
from entitysdk.models.brain_region import BrainRegion
77
from entitysdk.models.contribution import Contribution, Role
8-
from entitysdk.models.entity import Entity
98
from entitysdk.models.ion_channel_model import IonChannelModel, NeuronBlock, UseIon
9+
from entitysdk.models.license import License
1010
from entitysdk.models.morphology import ReconstructionMorphology
1111
from entitysdk.models.mtype import MTypeClass
1212
from entitysdk.models.taxonomy import Species, Strain, Taxonomy
@@ -16,8 +16,8 @@
1616
"BrainLocation",
1717
"BrainRegion",
1818
"Contribution",
19-
"Entity",
2019
"IonChannelModel",
20+
"License",
2121
"MTypeClass",
2222
"NeuronBlock",
2323
"Organization",

tests/integration/test_searching.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
import pytest
22

3-
from entitysdk.models.agent import Organization, Person
4-
from entitysdk.models.contribution import Role
5-
from entitysdk.models.morphology import (
3+
from entitysdk.models import (
4+
Contribution,
5+
IonChannelModel,
66
License,
7+
MTypeClass,
8+
Organization,
9+
Person,
710
ReconstructionMorphology,
11+
Role,
812
Species,
913
Strain,
1014
)
11-
from entitysdk.models.mtype import MTypeClass
1215

1316

1417
@pytest.mark.parametrize(
1518
"entity_type",
1619
[
20+
Contribution,
21+
IonChannelModel,
1722
License,
1823
MTypeClass,
1924
Person,

0 commit comments

Comments
 (0)