Skip to content

Commit

Permalink
md: resume path and depends
Browse files Browse the repository at this point in the history
  • Loading branch information
rafnixg committed Nov 18, 2023
1 parent ae6f1e4 commit 7dbf07b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ classifiers = [
keywords = ["personal card", "console"]
dependencies = [
"rich",
"feedparser"
"feedparser",
"requests",
]
requires-python = ">=3.9"

Expand Down
7 changes: 2 additions & 5 deletions src/rafnixg/resume.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,9 @@ def __init__(
class Resume:
"""Resume class."""

def __init__(self, json_path=None):
def __init__(self):
"""Constructor."""
if json_path is None:
raise ValueError("json_path is required")

self.json_path = json_path
self.json_path = "https://resume.rafnixg.dev/resume.json"
self.raw_data = self.read_json()
self.basics = self.get_basics()
self.work = self.get_work()
Expand Down

0 comments on commit 7dbf07b

Please sign in to comment.