forked from ITISFoundation/osparc-simcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7d4ace4
commit 6c3682c
Showing
4 changed files
with
9 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 2 additions & 9 deletions
11
services/api-server/src/simcore_service_api_server/models/schemas/licensed_items.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,7 @@ | ||
from models_library.resource_tracker import ServiceRunId | ||
from models_library.resource_tracker_licensed_items_checkouts import ( | ||
LicensedItemCheckoutID, | ||
) | ||
from models_library.services_types import ServiceRunID | ||
from pydantic import BaseModel | ||
|
||
|
||
class LicensedItemCheckoutData(BaseModel): | ||
number_of_seats: int | ||
service_run_id: ServiceRunId | ||
|
||
|
||
class LicensedItemReleaseData(BaseModel): | ||
licensed_item_checkout_id: LicensedItemCheckoutID | ||
service_run_id: ServiceRunID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters