Skip to content

Commit

Permalink
removed older data models
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswebb09 committed Oct 13, 2023
1 parent 48929fa commit a38f76c
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 160 deletions.
6 changes: 0 additions & 6 deletions DirectReport/commandline/commandline.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from DirectReport.models.daily_builder import DailyBuilder
from DirectReport.models.note.note_builder import NoteBuilder
from DirectReport.models.blocker_models.block_builder import BlockerBuilder
from DirectReport.models.jira_models.jira_builder import JiraBuilder

file = Path(__file__).resolve()
package_root_directory = file.parents[1]
Expand Down Expand Up @@ -102,11 +101,6 @@ def new(transformation):
if transformation == "blocker_models":
blocker = click.prompt('Blocker', type=str)
BlockerBuilder.add_new_blocker(blocker, DailyBuilder.get_daily_id())
if transformation == "jira_models":
daily_id = DailyBuilder.get_daily_id()
jira_ticket = click.prompt('Jira', type=str)
jira_tag = click.prompt('Jira', type=str)
JiraBuilder.add_new_jira(jira_ticket, jira_tag, daily_id)


@click.command()
Expand Down
71 changes: 0 additions & 71 deletions DirectReport/database/jira_storage.py

This file was deleted.

3 changes: 0 additions & 3 deletions DirectReport/models/entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import datetime
from DirectReport.models.note.note_builder import NoteBuilder
from DirectReport.models.blocker_models.block_builder import BlockerBuilder
from DirectReport.models.jira_models.jira_builder import JiraBuilder


class Entry:
Expand Down Expand Up @@ -37,7 +36,6 @@ def __init__(self, uuid, topic, message, created_at, modified_on, week_uuid):
self.week_uuid = week_uuid
self.notes = NoteBuilder.get_notes(self.uuid)
self.blockers = BlockerBuilder.get_blockers(self.uuid)
self.jiras = JiraBuilder.get_jira(self.uuid)

def get_created_at_formatted(self, date_format="%Y-%m-%d %H:%M:%S"):
"""
Expand Down Expand Up @@ -74,7 +72,6 @@ def to_dict(self):
"week_uuid": str(self.week_uuid),
"notes": self.notes,
"blockers": self.blockers,
"jiras": self.jiras,
}

@classmethod
Expand Down
Empty file.
44 changes: 0 additions & 44 deletions DirectReport/models/jira_models/jira.py

This file was deleted.

36 changes: 0 additions & 36 deletions DirectReport/models/jira_models/jira_builder.py

This file was deleted.

0 comments on commit a38f76c

Please sign in to comment.