Skip to content

Commit

Permalink
Precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
axelstudios committed May 29, 2024
1 parent ea8cb90 commit a60efbd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
20 changes: 11 additions & 9 deletions pyseed/seed_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,19 @@
See also https://github.com/seed-platform/py-seed/main/LICENSE
"""

# Imports from Standard Library
from typing import Any, Dict, List, Optional, Union

# Imports from Third Party Modules
import json
import logging
import os
import time
from collections import Counter
from csv import DictReader
from datetime import date
from pathlib import Path
from typing import Any, Dict, List, Optional, Union

from openpyxl import Workbook
from pathlib import Path

# Local Imports
from pyseed.seed_client_base import SEEDReadWriteClient
Expand Down Expand Up @@ -1539,12 +1541,12 @@ def retrieve_at_building_and_update(self, audit_template_building_id: int, cycle
return response

def retrieve_at_submission_and_update(
self,
audit_template_submission_id: int,
cycle_id: int,
seed_id: int,
report_format: str = 'pdf',
filename: Optional[str] = None,
self,
audit_template_submission_id: int,
cycle_id: int,
seed_id: int,
report_format: str = 'pdf',
filename: Optional[str] = None,
) -> Dict:
"""Connect to audit template and retrieve audit report by submission ID
Expand Down
4 changes: 3 additions & 1 deletion tests/test_seed_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@
import unittest
from datetime import date
from pathlib import Path
from unittest.mock import patch
from unittest import skipIf
from unittest.mock import patch

# Local Imports
from pyseed.seed_client import SeedClient

# @pytest.mark.integration


class SeedClientTest(unittest.TestCase):
@classmethod
def setup_class(cls):
Expand Down

0 comments on commit a60efbd

Please sign in to comment.