Skip to content

Commit d752d18

Browse files
fix names
1 parent 09c0073 commit d752d18

File tree

7 files changed

+9
-14
lines changed

7 files changed

+9
-14
lines changed

packages/common-library/README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
# simcore pydantic models library
1+
# simcore pydantic common library
22

3-
Contains the [pydantic](https://pydantic-docs.helpmanual.io/)-based models for use in the simcore platform. As a reminder pydantic allows creation of python classes that automatically validate their contents based on types. It also provides mechanism to generate json schemas describing the classes internals.
4-
5-
Requirements to be compatible with the library:
6-
7-
- be a pydantic-based model
8-
- not a model for use in a REST API (or at least not directly) only for a specific service (ServiceUpdate model for use in a PATCH REST call on the webserver has nothing to do in the library for example, but a base class for it is ok)
3+
Contains the common classes, functions and in general utilities for use in the simcore platform.
94

105
## Installation
116

@@ -31,7 +26,7 @@ How run diagnostics on the service metadata published in a docker registry?
3126
make devenv
3227
source .venv/bin/activate
3328

34-
cd packages/models-library
29+
cd packages/common-library
3530
make install-dev
3631
```
3732
2. Set ``REGISTRY_*`` env vars in ``.env`` (in the repository base folder)

packages/common-library/requirements/_base.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Specifies third-party dependencies for 'models-library'
2+
# Specifies third-party dependencies for 'common-library'
33
#
44
--constraint ../../../requirements/constraints.txt
55

packages/common-library/requirements/_test.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Specifies dependencies required to run 'models-library'
2+
# Specifies dependencies required to run 'common-library'
33
#
44
--constraint ../../../requirements/constraints.txt
55

packages/common-library/requirements/ci.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Shortcut to install all packages for the contigous integration (CI) of 'models-library'
1+
# Shortcut to install all packages for the contigous integration (CI) of 'common-library'
22
#
33
# - As ci.txt but w/ tests
44
#

packages/common-library/requirements/dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Shortcut to install all packages needed to develop 'models-library'
1+
# Shortcut to install all packages needed to develop 'common-library'
22
#
33
# - As ci.txt but with current and repo packages in develop (edit) mode
44
#

packages/common-library/src/common_library/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" osparc's service models library
1+
""" osparc's service common library
22
33
"""
44

packages/common-library/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import pytest
1010

1111
pytest_plugins = [
12-
"pytest_simcore.pydantic_models",
12+
"pytest_simcore.pydantic_common",
1313
"pytest_simcore.pytest_global_environs",
1414
"pytest_simcore.repository_paths",
1515
"pytest_simcore.schemas",

0 commit comments

Comments
 (0)