Skip to content

Commit

Permalink
Merge pull request #54 from Jordan-Prescott/53-all-absolute-paths-nee…
Browse files Browse the repository at this point in the history
…d-to-be-changed-to-relevant

Replaced Absolute Paths with Relative
  • Loading branch information
malkin0xb8 authored Jun 25, 2024
2 parents d12e3f2 + a268d52 commit 36f094f
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 18 deletions.
12 changes: 6 additions & 6 deletions odins_spear/api.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import requests
import os

from odins_spear.requester import Requester
from odins_spear.methods import *
from odins_spear.logger import Logger
from odins_spear.scripter import Scripter
from odins_spear.reporter import Reporter
from odins_spear.exceptions import (OSApiAuthenticationFail,
from .requester import Requester
from .methods import *
from .logger import Logger
from .scripter import Scripter
from .reporter import Reporter
from .exceptions import (OSApiAuthenticationFail,
OSSessionRefreshFail,
OSFailedToLocateSession)

Expand Down
2 changes: 1 addition & 1 deletion odins_spear/methods/get.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from odins_spear.utils.formatting import format_filter
from ..utils.formatting import format_filter


class Get():
Expand Down
2 changes: 1 addition & 1 deletion odins_spear/methods/put.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from odins_spear.exceptions import *
from ..exceptions import *


class Put():
Expand Down
4 changes: 2 additions & 2 deletions odins_spear/reports/call_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from .report_utils.parsing import call_flow_module


from odins_spear.store import DataStore
from odins_spear.store import broadwork_entities as bre
from ..store import DataStore
from ..store import broadwork_entities as bre

def main(api, service_provider_id: str, group_id: str, number: str, number_type: str,
broadworks_entity_type: str):
Expand Down
2 changes: 1 addition & 1 deletion odins_spear/reports/report_utils/file_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import shutil

from odins_spear.exceptions import OSFileNotFound
from ...exceptions import OSFileNotFound


def check_directory_or_file_exists(directory_file_path: str) -> bool:
Expand Down
2 changes: 1 addition & 1 deletion odins_spear/reports/report_utils/graphviz_module.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import graphviz

from odins_spear.store import broadwork_entities as bre
from ...store import broadwork_entities as bre

class GraphvizModule:

Expand Down
2 changes: 1 addition & 1 deletion odins_spear/reports/report_utils/parsing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from odins_spear.store import broadwork_entities as bre
from ...store import broadwork_entities as bre
from .report_entities import external_number

# nodes needed for graph generation
Expand Down
2 changes: 1 addition & 1 deletion odins_spear/scripts/bulk_password_reset.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import json

from odins_spear.exceptions import OSInvalidPasswordType
from ..exceptions import OSInvalidPasswordType

def main(api, service_provider_id: str, group_id: str, users: list, password_type: str):

Expand Down
2 changes: 1 addition & 1 deletion odins_spear/scripts/service_provider_trunking_capacity.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from tqdm import tqdm

from odins_spear.exceptions import OSServiceNotAssigned
from ..exceptions import OSServiceNotAssigned

def main(api: object, service_provider_id: str):
"""Returns a JSON breakdown of the Trunking Call Capacity of a Service Provider/ Enterprise (SP/ENT).
Expand Down
4 changes: 2 additions & 2 deletions odins_spear/store/data_store.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from typing import List
import json

from odins_spear import api
from odins_spear.utils import parsing
from .. import api
from ..utils import parsing
from . import broadwork_entities as bre

class DataStore:
Expand Down
2 changes: 1 addition & 1 deletion odins_spear/utils/formatting.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from odins_spear.exceptions import *
from ..exceptions import *

def format_filter(filter, type, value):
"""_summary_
Expand Down

0 comments on commit 36f094f

Please sign in to comment.