Skip to content

Commit 1bb26c5

Browse files
authored
Merge pull request #45 from bugout-dev/bugjobs
"jobs" module
2 parents ddf813c + 7c9d742 commit 1bb26c5

File tree

4 files changed

+454
-1
lines changed

4 files changed

+454
-1
lines changed

bugout/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
__email__ = "engineering@bugout.dev"
99
__license__ = "MIT"
10-
__version__ = "0.2.5"
10+
__version__ = "0.2.6"
1111

1212
__all__ = (
1313
"__author__",

bugout/__main__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import textwrap
33

44
from .app import Bugout
5+
from .jobs import generate_cli as generate_jobs_cli
56

67

78
def get_methods_list(args: argparse.Namespace) -> None:
@@ -27,6 +28,13 @@ def main() -> None:
2728
)
2829
parser_common.set_defaults(func=get_methods_list)
2930

31+
parser_jobs = generate_jobs_cli()
32+
subcommands.add_parser(
33+
"jobs",
34+
parents=[parser_jobs],
35+
add_help=False,
36+
)
37+
3038
args = parser.parse_args()
3139
args.func(args)
3240

bugout/data.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,3 +245,7 @@ class BugoutHumbugIntegration(BaseModel):
245245

246246
class BugoutHumbugIntegrationsList(BaseModel):
247247
integrations: List[BugoutHumbugIntegration] = Field(default_factory=list)
248+
249+
250+
class BugoutSearchResultWithEntryID(BugoutSearchResult):
251+
id: str

0 commit comments

Comments
 (0)