Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced Absolute Paths with Relative #54

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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