Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uclouvain/osis-admission
https://github.com/uclouvain/osis-admission
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/uclouvain/osis-admission
- Owner: uclouvain
- License: gpl-3.0
- Created: 2021-03-11T07:31:46.000Z (almost 4 years ago)
- Default Branch: dev
- Last Pushed: 2024-10-29T09:48:13.000Z (2 months ago)
- Last Synced: 2024-10-29T09:49:49.950Z (2 months ago)
- Language: Python
- Size: 23.3 MB
- Stars: 3
- Watchers: 16
- Forks: 2
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# osis-admission
## Automatic schema generation command
```console
./manage.py generateschema --urlconf=admission.api.url_v1 --generator_class admission.api.schema.AdmissionSchemaGenerator --file admission/schema.yml
openapi-generator-cli generate -i admission/schema.yml -g python -o ../osis-portal/osis-admission-sdk --additional-properties packageName=osis_admission_sdk --additional-properties projectName=osis_admission_sdk
```openapi-generator-cli 5.4.0
## Type checking
Install dependencies
```shell
pip install mypy "django-stubs==1.7.0"
mypy --install-types
```From the root osis directory, create a `mypy.ini` file:
```ini
[mypy]
ignore_missing_imports = True
follow_imports = silent
plugins =
mypy_django_plugin.main[mypy.plugins.django-stubs]
django_settings_module = "backoffice.settings.dev"
```Then, still from the root osis directory, run
```shell
mypy -p admission.ddd
```