papi-projects 0.1.7__tar.gz → 0.1.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: papi-projects
3
- Version: 0.1.7
3
+ Version: 0.1.9
4
4
  Summary: PAPI is an API for managing projects
5
5
  License: MIT
6
6
  Author: sandyjmacdonald
@@ -710,7 +710,7 @@ class NotionWrapper(Protocol):
710
710
  logger.info(f"Notion user found with page ID {user_page_id}")
711
711
  return user_page_id
712
712
  else:
713
- logger.warning("Notion user not found")
713
+ logger.info("Notion user not found")
714
714
  return None
715
715
 
716
716
  def get_users(self, clients_db_id: str) -> list:
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "papi-projects"
3
- version = "0.1.7"
3
+ version = "0.1.9"
4
4
  description = "PAPI is an API for managing projects"
5
5
  authors = ["sandyjmacdonald <sandyjmacdonald@gmail.com>"]
6
6
  license = "MIT"
@@ -29,7 +29,7 @@ def prompt_for_args():
29
29
  if enable_logging:
30
30
  log_level_choices = ['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL']
31
31
  log_level = input(f"Set log level {log_level_choices} [INFO]: ").strip().upper()
32
- log_level = log_level if log_level else None
32
+ log_level = log_level if log_level else "INFO"
33
33
  if log_level is not None and log_level not in log_level_choices:
34
34
  print("Invalid log level. Defaulting to 'INFO'.")
35
35
  log_level = 'INFO'
File without changes