Skip to content

Commit

Permalink
Merge pull request breatheco-de#1221 from jefer94/feat/can-monetize-m…
Browse files Browse the repository at this point in the history
…icroservices

Feat/can monetize microservices
  • Loading branch information
jefer94 authored Dec 18, 2023
2 parents 82a3ca2 + 30737cf commit 3097145
Show file tree
Hide file tree
Showing 39 changed files with 1,914 additions and 1,580 deletions.
Empty file.
11 changes: 11 additions & 0 deletions breathecode/assignments/permissions/consumers.py
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.
8 changes: 8 additions & 0 deletions breathecode/assignments/permissions/flags.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
__all__ = ['api']


class API:
...


api = API()
Loading

0 comments on commit 3097145

Please sign in to comment.