Fix types in manifests

This commit is contained in:
erinhmclark
2025-01-27 08:43:18 +00:00
parent 96b35a272c
commit 21a7ff0520
5 changed files with 13 additions and 12 deletions

View File

@@ -15,12 +15,12 @@
"api_token": {
"default": None,
"help": "An Atlos API token. For more information, see https://docs.atlos.org/technical/api/",
"type": str,
"type": "str",
},
"atlos_url": {
"default": "https://platform.atlos.org",
"help": "The URL of your Atlos instance (e.g., https://platform.atlos.org), without a trailing slash.",
"type": str,
"type": "str",
},
},
"description": """

View File

@@ -15,7 +15,7 @@
"atlos_url": {
"default": "https://platform.atlos.org",
"help": "The URL of your Atlos instance (e.g., https://platform.atlos.org), without a trailing slash.",
"type": str
"type": "str"
},
},
"description": """

View File

@@ -9,12 +9,12 @@
"api_token": {
"default": None,
"help": "An Atlos API token. For more information, see https://docs.atlos.org/technical/api/",
"type": str
"type": "str"
},
"atlos_url": {
"default": "https://platform.atlos.org",
"help": "The URL of your Atlos instance (e.g., https://platform.atlos.org), without a trailing slash.",
"type": str
"type": "str"
},
},
"description": """

View File

@@ -22,13 +22,13 @@ from . import GWorksheet
class GsheetsFeeder(Feeder):
name = "gsheet_feeder"
# def __init__(self, config: dict) -> None:
# """
# Initializes the GsheetsFeeder with preloaded configurations.
# """
# super().__init__(config)
# # Initialize the gspread client with the provided service account file
# self.gsheets_client = gspread.service_account(filename=config["service_account"])
def __init__(self) -> None:
"""
Initializes the GsheetsFeeder with preloaded configurations.
"""
super().__init__()
# Initialize the gspread client with the provided service account file
# self.gsheets_client = gspread.service_account(filename=self.config["service_account"])
#
# # Set up feeder-specific configurations from the config
# self.sheet_name = config.get("sheet")

View File

@@ -7,6 +7,7 @@
},
"configs": {
"algorithm": {"default": "SHA-256", "help": "hash algorithm to use", "choices": ["SHA-256", "SHA3-512"]},
# TODO add non-negative requirement to match previous implementation?
"chunksize": {"default": 1.6e7, "help": "number of bytes to use when reading files in chunks (if this value is too large you will run out of RAM), default is 16MB"},
},
"description": """