Skip to content

Commit

Permalink
Merge pull request #9 from PSNAppz/1.0
Browse files Browse the repository at this point in the history
Update id_generation model
  • Loading branch information
venky-ganapathy authored Dec 11, 2024
2 parents 4d17636 + fa074e9 commit eba32f9
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion openg2p-sr-celery-beat-producers/Dockerfile-git
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN python3 -m venv venv \
RUN python3 -m pip install \
git+https://github.com/openg2p/[email protected]\#subdirectory=openg2p-fastapi-common \
git+https://github.com/openg2p/[email protected]\#subdirectory=openg2p-fastapi-auth \
git+https://github.com/OpenG2P/[email protected].0\#subdirectory=openg2p-sr-models \
git+https://github.com/OpenG2P/[email protected].1\#subdirectory=openg2p-sr-models \
./src

USER ${container_user}
Expand Down
4 changes: 2 additions & 2 deletions openg2p-sr-celery-beat-producers/Dockerfile-pypi
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ RUN python3 -m venv venv \
RUN python3 -m pip install \
openg2p-fastapi-common==1.1.1 \
openg2p-fastapi-auth==1.1.1 \
openg2p-sr-models==1.0.0 \
openg2p-sr-celery-beat-producers==1.0.0
openg2p-sr-models==1.0.1 \
openg2p-sr-celery-beat-producers==1.0.1

USER ${container_user}

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.0"
__version__ = "1.0.1"
2 changes: 1 addition & 1 deletion openg2p-sr-celery-workers/Dockerfile-git
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN python3 -m venv venv \
RUN python3 -m pip install \
git+https://github.com/openg2p/[email protected]\#subdirectory=openg2p-fastapi-common \
git+https://github.com/openg2p/[email protected]\#subdirectory=openg2p-fastapi-auth \
git+https://github.com/OpenG2P/[email protected].0\#subdirectory=openg2p-sr-models \
git+https://github.com/OpenG2P/[email protected].1\#subdirectory=openg2p-sr-models \
./src

USER ${container_user}
Expand Down
4 changes: 2 additions & 2 deletions openg2p-sr-celery-workers/Dockerfile-pypi
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ RUN python3 -m venv venv \
RUN python3 -m pip install \
openg2p-fastapi-common==1.1.1 \
openg2p-fastapi-auth==1.1.1 \
openg2p-sr-models==1.0.0 \
openg2p-sr-celery-workers==1.0.0
openg2p-sr-models==1.0.1 \
openg2p-sr-celery-workers==1.0.1

USER ${container_user}

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.0"
__version__ = "1.0.1"
2 changes: 1 addition & 1 deletion openg2p-sr-models/src/openg2p_sr_models/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.0"
__version__ = "1.0.1"
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import enum
from datetime import datetime

from openg2p_fastapi_common.models import BaseORMModel, BaseORMModelWithTimes
from openg2p_fastapi_common.models import BaseORMModel
from sqlalchemy import DateTime, Integer, String
from sqlalchemy import Enum as SqlEnum
from sqlalchemy.orm import mapped_column
Expand All @@ -20,7 +20,7 @@ class IDGenerationUpdateStatus(enum.Enum):
FAILED = "FAILED"


class G2PQueIDGeneration(BaseORMModelWithTimes):
class G2PQueIDGeneration(BaseORMModel):
__tablename__ = "g2p_que_id_generation"
id = mapped_column(Integer, primary_key=True, autoincrement=True)
registrant_id = mapped_column(String, nullable=False, unique=True)
Expand Down

0 comments on commit eba32f9

Please sign in to comment.