Skip to content

homework_lection2_Yaroslav_Raksha#16

Open
YaroslavRaksha wants to merge 1 commit intorusalforever:masterfrom
YaroslavRaksha:master
Open

homework_lection2_Yaroslav_Raksha#16
YaroslavRaksha wants to merge 1 commit intorusalforever:masterfrom
YaroslavRaksha:master

Conversation

@YaroslavRaksha
Copy link
Copy Markdown

Decoratros:

  • handle publish (prints data for new book creating)
  • validate_json_path ( for JsonHandler )

Created FileHandler Class with JsonHandler child, so we can work with different types of files easily.

Created BookModel abstract Class, which helps creating Book and Journal Classes.

Created Library Class which can contain both Journals and Books. Created methods for adding, getting, deleting items from library and saving/getting them from/to file. Also handed errors, if type is not found (book or journal)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant