forked from breatheco-de/apiv2
-
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.
Merge pull request breatheco-de#1221 from jefer94/feat/can-monetize-m…
…icroservices Feat/can monetize microservices
- Loading branch information
Showing
39 changed files
with
1,914 additions
and
1,580 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import logging | ||
from breathecode.utils.decorators import PermissionContextType | ||
|
||
logger = logging.getLogger(__name__) | ||
|
||
|
||
def code_revision_service(context: PermissionContextType, args: tuple, | ||
kwargs: dict) -> tuple[dict, tuple, dict]: | ||
|
||
context['consumables'] = context['consumables'].filter(app_service__service='code_revision') | ||
return (context, args, kwargs) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
__all__ = ['api'] | ||
|
||
|
||
class API: | ||
... | ||
|
||
|
||
api = API() |
Oops, something went wrong.