We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
is_publication_approved
1 parent 223cb2c commit d162a61Copy full SHA for d162a61
1 file changed
src/hermes/commands/curate/base.py
@@ -5,6 +5,7 @@
5
# SPDX-FileContributor: Michael Meinel
6
# SPDX-FileContributor: David Pape
7
8
+from abc import abstractmethod
9
import argparse
10
import json
11
import sys
@@ -70,13 +71,14 @@ def create_report(self):
70
71
"""
72
pass
73
74
+ @abstractmethod
75
def is_publication_approved(self) -> bool:
76
"""Return the publication decision made through the curation process.
77
- If publication is allowed, this method must return ``True``. By default,
- ``False`` is returned.
78
+ If publication is allowed, this method must return ``True``, otherwise
79
+ ``False``.
80
- return False
81
+ pass
82
83
def process_decision_positive(self):
84
"""Process a positive curation decision.
0 commit comments