generated from linz/template-python-hello-world
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* feat: simple stac provider * feat: add roles into default provider (linz) if selected as licensor (or producer) * chore: remove debug
- Loading branch information
1 parent
6413207
commit 9bc71a4
Showing
7 changed files
with
88 additions
and
2 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
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from enum import Enum | ||
from typing import List, TypedDict | ||
|
||
|
||
class ProviderRole(str, Enum): | ||
PRODUCER = "producer" | ||
LICENSOR = "licensor" | ||
PROCESSOR = "processor" | ||
HOST = "host" | ||
|
||
|
||
class Provider(TypedDict): | ||
name: str | ||
"""Organization name""" | ||
roles: List[ProviderRole] | ||
"""Organization roles""" |
Empty file.
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
Empty file.