Supercharging superbooga (#3272)

This commit is contained in:
HideLord 2023-09-27 00:30:19 +00:00 committed by GitHub
parent ad00b8eb26
commit 0845724a89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 12294 additions and 2 deletions

View file

@ -0,0 +1,16 @@
"""
This module contains common functions across multiple other modules.
"""
import extensions.superboogav2.parameters as parameters
# Create the context using the prefix + data_separator + postfix from parameters.
def create_context_text(results):
context = parameters.get_prefix() + parameters.get_data_separator().join(results) + parameters.get_postfix()
return context
# Create metadata with the specified source
def create_metadata_source(source: str):
return {'source': source}