hexsha
stringlengths
40
40
repo
stringlengths
7
114
path
stringlengths
4
124
license
listlengths
1
9
language
stringclasses
1 value
identifier
stringlengths
1
71
return_type
stringlengths
1
749
⌀
original_string
stringlengths
76
22.7k
original_docstring
stringlengths
16
7.61k
docstring
stringlengths
16
2.47k
docstring_tokens
listlengths
6
477
code
stringlengths
14
10.2k
code_tokens
listlengths
6
996
short_docstring
stringlengths
2
644
short_docstring_tokens
listlengths
1
116
comment
listlengths
1
89
parameters
listlengths
0
64
docstring_params
dict
ffbd3c7eb6421968e74cacadf711d0b18d5b782b
robehickman/simple-http-file-sync
bversion/storage/journaling_filesystem.py
[ "MIT" ]
Python
do_action
null
def do_action(self, command: dict, write_journal: bool = True): """ Implementation for declarative file operations. """ cmd = 0; src = 1; path = 1; data = 2; dst = 2 if write_journal: self.client_db.write_fs_journal(command['undo']) self.client_db.commit() d = ...
Implementation for declarative file operations.
Implementation for declarative file operations.
[ "Implementation", "for", "declarative", "file", "operations", "." ]
def do_action(self, command: dict, write_journal: bool = True): cmd = 0; src = 1; path = 1; data = 2; dst = 2 if write_journal: self.client_db.write_fs_journal(command['undo']) self.client_db.commit() d = command['do'] if d[cmd] == 'copy': shutil.copy(d[src], ...
[ "def", "do_action", "(", "self", ",", "command", ":", "dict", ",", "write_journal", ":", "bool", "=", "True", ")", ":", "cmd", "=", "0", ";", "src", "=", "1", ";", "path", "=", "1", ";", "data", "=", "2", ";", "dst", "=", "2", "if", "write_jour...
Implementation for declarative file operations.
[ "Implementation", "for", "declarative", "file", "operations", "." ]
[ "\"\"\" Implementation for declarative file operations. \"\"\"" ]
[ { "param": "self", "type": null }, { "param": "command", "type": "dict" }, { "param": "write_journal", "type": "bool" } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "command", "type": "dict", "docstring": null, "docstring_token...
ffbd3c7eb6421968e74cacadf711d0b18d5b782b
robehickman/simple-http-file-sync
bversion/storage/journaling_filesystem.py
[ "MIT" ]
Python
file_get_contents
bytes
def file_get_contents(self, path: str) -> bytes: """ Returns contents of file located at 'path', not changing FS so does not require journaling """ with open(self.get_full_file_path(path), 'rb') as f: return f.read()
Returns contents of file located at 'path', not changing FS so does not require journaling
Returns contents of file located at 'path', not changing FS so does not require journaling
[ "Returns", "contents", "of", "file", "located", "at", "'", "path", "'", "not", "changing", "FS", "so", "does", "not", "require", "journaling" ]
def file_get_contents(self, path: str) -> bytes: with open(self.get_full_file_path(path), 'rb') as f: return f.read()
[ "def", "file_get_contents", "(", "self", ",", "path", ":", "str", ")", "->", "bytes", ":", "with", "open", "(", "self", ".", "get_full_file_path", "(", "path", ")", ",", "'rb'", ")", "as", "f", ":", "return", "f", ".", "read", "(", ")" ]
Returns contents of file located at 'path', not changing FS so does not require journaling
[ "Returns", "contents", "of", "file", "located", "at", "'", "path", "'", "not", "changing", "FS", "so", "does", "not", "require", "journaling" ]
[ "\"\"\" Returns contents of file located at 'path', not changing FS so does\n not require journaling \"\"\"" ]
[ { "param": "self", "type": null }, { "param": "path", "type": "str" } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "path", "type": "str", "docstring": null, "docstring_tokens": ...
ffbd3c7eb6421968e74cacadf711d0b18d5b782b
robehickman/simple-http-file-sync
bversion/storage/journaling_filesystem.py
[ "MIT" ]
Python
file_put_contents
null
def file_put_contents(self, path: str, data: bytes): """ Put passed contents into file located at 'path' """ path = self.get_full_file_path(path) # if file exists, create a temp copy to allow rollback if os.path.isfile(path): tmp_path = self.new_tmp() self.do_ac...
Put passed contents into file located at 'path'
Put passed contents into file located at 'path'
[ "Put", "passed", "contents", "into", "file", "located", "at", "'", "path", "'" ]
def file_put_contents(self, path: str, data: bytes): path = self.get_full_file_path(path) if os.path.isfile(path): tmp_path = self.new_tmp() self.do_action({ 'do' : ['copy', path, tmp_path], 'undo' : ['move', tmp_path, path]}) self.do_act...
[ "def", "file_put_contents", "(", "self", ",", "path", ":", "str", ",", "data", ":", "bytes", ")", ":", "path", "=", "self", ".", "get_full_file_path", "(", "path", ")", "if", "os", ".", "path", ".", "isfile", "(", "path", ")", ":", "tmp_path", "=", ...
Put passed contents into file located at 'path'
[ "Put", "passed", "contents", "into", "file", "located", "at", "'", "path", "'" ]
[ "\"\"\" Put passed contents into file located at 'path' \"\"\"", "# if file exists, create a temp copy to allow rollback" ]
[ { "param": "self", "type": null }, { "param": "path", "type": "str" }, { "param": "data", "type": "bytes" } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "path", "type": "str", "docstring": null, "docstring_tokens": ...
ffbd3c7eb6421968e74cacadf711d0b18d5b782b
robehickman/simple-http-file-sync
bversion/storage/journaling_filesystem.py
[ "MIT" ]
Python
move_file
null
def move_file(self, src: str, dst: str): """ Move file from src to dst """ src = self.get_full_file_path(src); dst = self.get_full_file_path(dst) # record where file moved if os.path.isfile(src): # if destination file exists, copy it to tmp first if os.path.isfi...
Move file from src to dst
Move file from src to dst
[ "Move", "file", "from", "src", "to", "dst" ]
def move_file(self, src: str, dst: str): src = self.get_full_file_path(src); dst = self.get_full_file_path(dst) if os.path.isfile(src): if os.path.isfile(dst): tmp_path = self.new_tmp() self.do_action({ 'do' : ['copy', dst, tmp_path], ...
[ "def", "move_file", "(", "self", ",", "src", ":", "str", ",", "dst", ":", "str", ")", ":", "src", "=", "self", ".", "get_full_file_path", "(", "src", ")", ";", "dst", "=", "self", ".", "get_full_file_path", "(", "dst", ")", "if", "os", ".", "path",...
Move file from src to dst
[ "Move", "file", "from", "src", "to", "dst" ]
[ "\"\"\" Move file from src to dst \"\"\"", "# record where file moved", "# if destination file exists, copy it to tmp first" ]
[ { "param": "self", "type": null }, { "param": "src", "type": "str" }, { "param": "dst", "type": "str" } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "src", "type": "str", "docstring": null, "docstring_tokens": [...
e01bb93e65ea4abea9f8963856a1e1d81c0f53c8
robehickman/simple-http-file-sync
bversion/backup/s3_interface.py
[ "MIT" ]
Python
connect
<not_specific>
def connect(config): """ Connect to S3 and ensure that versioning is enabled """ access_key = config['s3']['access_key'] secret_key = config['s3']['secret_key'] if 'endpoint' in config['s3']: client = boto3.client( 's3', endpoint_url = config['s3']['endpoint'], ...
Connect to S3 and ensure that versioning is enabled
Connect to S3 and ensure that versioning is enabled
[ "Connect", "to", "S3", "and", "ensure", "that", "versioning", "is", "enabled" ]
def connect(config): access_key = config['s3']['access_key'] secret_key = config['s3']['secret_key'] if 'endpoint' in config['s3']: client = boto3.client( 's3', endpoint_url = config['s3']['endpoint'], aws_access_key_id=access_key, ...
[ "def", "connect", "(", "config", ")", ":", "access_key", "=", "config", "[", "'s3'", "]", "[", "'access_key'", "]", "secret_key", "=", "config", "[", "'s3'", "]", "[", "'secret_key'", "]", "if", "'endpoint'", "in", "config", "[", "'s3'", "]", ":", "cli...
Connect to S3 and ensure that versioning is enabled
[ "Connect", "to", "S3", "and", "ensure", "that", "versioning", "is", "enabled" ]
[ "\"\"\" Connect to S3 and ensure that versioning is enabled \"\"\"" ]
[ { "param": "config", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "config", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null } ], "outlier_params": [], "others": [] }
e01bb93e65ea4abea9f8963856a1e1d81c0f53c8
robehickman/simple-http-file-sync
bversion/backup/s3_interface.py
[ "MIT" ]
Python
wipe_all
null
def wipe_all(conn): """ wipe everything on the remote for testing purposes """ truncated = True key_marker = None while truncated: if key_marker is None: version_list = conn['client'].list_object_versions(Bucket=conn['bucket']) else: version_list = conn['client']...
wipe everything on the remote for testing purposes
wipe everything on the remote for testing purposes
[ "wipe", "everything", "on", "the", "remote", "for", "testing", "purposes" ]
def wipe_all(conn): truncated = True key_marker = None while truncated: if key_marker is None: version_list = conn['client'].list_object_versions(Bucket=conn['bucket']) else: version_list = conn['client'].list_object_versions(Bucket=conn['bucket'],KeyMarker=key_marker...
[ "def", "wipe_all", "(", "conn", ")", ":", "truncated", "=", "True", "key_marker", "=", "None", "while", "truncated", ":", "if", "key_marker", "is", "None", ":", "version_list", "=", "conn", "[", "'client'", "]", ".", "list_object_versions", "(", "Bucket", ...
wipe everything on the remote for testing purposes
[ "wipe", "everything", "on", "the", "remote", "for", "testing", "purposes" ]
[ "\"\"\" wipe everything on the remote for testing purposes \"\"\"", "#if 'NextKeyMarker' in version_list:", "# Key_marker = version_list['NextKeyMarker']" ]
[ { "param": "conn", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "conn", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null } ], "outlier_params": [], "others": [] }
e01bb93e65ea4abea9f8963856a1e1d81c0f53c8
robehickman/simple-http-file-sync
bversion/backup/s3_interface.py
[ "MIT" ]
Python
put_object
<not_specific>
def put_object(conn, key, contents, meta=None): """ Creates an object or object revision on s3 """ if meta is None: k = conn['client'].put_object(Bucket=conn['bucket'], Key=key, Body=contents) else: k = conn['client'].put_object(Bucket=conn['bucket'], Key=key, Body=contents, Metadata=meta) ...
Creates an object or object revision on s3
Creates an object or object revision on s3
[ "Creates", "an", "object", "or", "object", "revision", "on", "s3" ]
def put_object(conn, key, contents, meta=None): if meta is None: k = conn['client'].put_object(Bucket=conn['bucket'], Key=key, Body=contents) else: k = conn['client'].put_object(Bucket=conn['bucket'], Key=key, Body=contents, Metadata=meta) return {'key': key, 'version_id' : k['VersionId']}
[ "def", "put_object", "(", "conn", ",", "key", ",", "contents", ",", "meta", "=", "None", ")", ":", "if", "meta", "is", "None", ":", "k", "=", "conn", "[", "'client'", "]", ".", "put_object", "(", "Bucket", "=", "conn", "[", "'bucket'", "]", ",", ...
Creates an object or object revision on s3
[ "Creates", "an", "object", "or", "object", "revision", "on", "s3" ]
[ "\"\"\" Creates an object or object revision on s3 \"\"\"" ]
[ { "param": "conn", "type": null }, { "param": "key", "type": null }, { "param": "contents", "type": null }, { "param": "meta", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "conn", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "key", "type": null, "docstring": null, "docstring_tokens": []...
a66f5ea4943dd5a7f1a4fb206fd4e67fef3d061d
robehickman/simple-http-file-sync
bversion/crypto.py
[ "MIT" ]
Python
prompt_for_new_password
str
def prompt_for_new_password() -> str: """ Prompt the user to enter a new password, with confirmation """ while True: passw: str = getpass.getpass() passw2: str = getpass.getpass() if passw == passw2: return passw else: print('Passwords do not match')
Prompt the user to enter a new password, with confirmation
Prompt the user to enter a new password, with confirmation
[ "Prompt", "the", "user", "to", "enter", "a", "new", "password", "with", "confirmation" ]
def prompt_for_new_password() -> str: while True: passw: str = getpass.getpass() passw2: str = getpass.getpass() if passw == passw2: return passw else: print('Passwords do not match')
[ "def", "prompt_for_new_password", "(", ")", "->", "str", ":", "while", "True", ":", "passw", ":", "str", "=", "getpass", ".", "getpass", "(", ")", "passw2", ":", "str", "=", "getpass", ".", "getpass", "(", ")", "if", "passw", "==", "passw2", ":", "re...
Prompt the user to enter a new password, with confirmation
[ "Prompt", "the", "user", "to", "enter", "a", "new", "password", "with", "confirmation" ]
[ "\"\"\" Prompt the user to enter a new password, with confirmation \"\"\"" ]
[]
{ "returns": [], "raises": [], "params": [], "outlier_params": [], "others": [] }
96953a97504e04344413a573b8bc6273c033d840
robehickman/simple-http-file-sync
bversion/client.py
[ "MIT" ]
Python
authenticate
str
def authenticate(previous_token: str = None) -> str: """ Authenticate the client to the server """ # if we already have a session token, try to authenticate with it if previous_token is not None: headers = server_connection.request("authenticate", { 'client_version' : str(version_number...
Authenticate the client to the server
Authenticate the client to the server
[ "Authenticate", "the", "client", "to", "the", "server" ]
def authenticate(previous_token: str = None) -> str: if previous_token is not None: headers = server_connection.request("authenticate", { 'client_version' : str(version_numbers.client_version), 'session_token' : previous_token, 'repository' : config['repository']})[1...
[ "def", "authenticate", "(", "previous_token", ":", "str", "=", "None", ")", "->", "str", ":", "if", "previous_token", "is", "not", "None", ":", "headers", "=", "server_connection", ".", "request", "(", "\"authenticate\"", ",", "{", "'client_version'", ":", "...
Authenticate the client to the server
[ "Authenticate", "the", "client", "to", "the", "server" ]
[ "\"\"\" Authenticate the client to the server \"\"\"", "# if we already have a session token, try to authenticate with it", "# Only care about headers", "# If the session token has expired, or if we don't have one, re-authenticate", "# Only care about headers", "# Only care about headers" ]
[ { "param": "previous_token", "type": "str" } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "previous_token", "type": "str", "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null } ], "outlier_params": [], "others": [] }
96953a97504e04344413a573b8bc6273c033d840
robehickman/simple-http-file-sync
bversion/client.py
[ "MIT" ]
Python
find_local_changes
Tuple[dict, Dict[str, manifestFileDetails]]
def find_local_changes(include_unchanged : bool = False) -> Tuple[dict, Dict[str, manifestFileDetails]]: """ Find things that have changed since the last run, applying ignore filters """ old_state = cdb.get_manifest() current_state = get_file_list(config['data_dir']) #Apply ignore filters current_...
Find things that have changed since the last run, applying ignore filters
Find things that have changed since the last run, applying ignore filters
[ "Find", "things", "that", "have", "changed", "since", "the", "last", "run", "applying", "ignore", "filters" ]
def find_local_changes(include_unchanged : bool = False) -> Tuple[dict, Dict[str, manifestFileDetails]]: old_state = cdb.get_manifest() current_state = get_file_list(config['data_dir']) current_state = [fle for fle in current_state if not next((True for flter in config['ignore_filters']...
[ "def", "find_local_changes", "(", "include_unchanged", ":", "bool", "=", "False", ")", "->", "Tuple", "[", "dict", ",", "Dict", "[", "str", ",", "manifestFileDetails", "]", "]", ":", "old_state", "=", "cdb", ".", "get_manifest", "(", ")", "current_state", ...
Find things that have changed since the last run, applying ignore filters
[ "Find", "things", "that", "have", "changed", "since", "the", "last", "run", "applying", "ignore", "filters" ]
[ "\"\"\" Find things that have changed since the last run, applying ignore filters \"\"\"", "#Apply ignore filters", "# ---------", "#pprint(changed_files)" ]
[ { "param": "include_unchanged", "type": "bool" } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "include_unchanged", "type": "bool", "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null } ], "outlier_params": [], "others": [] }
96953a97504e04344413a573b8bc6273c033d840
robehickman/simple-http-file-sync
bversion/client.py
[ "MIT" ]
Python
update
<not_specific>
def update(session_token: str, test_overrides = None, include_unchanged = False): """ Compare changes on the client to changes on the server and update local files which have changed on the server. """ # =========================== if test_overrides is None: testing = False test_overrid...
Compare changes on the client to changes on the server and update local files which have changed on the server.
Compare changes on the client to changes on the server and update local files which have changed on the server.
[ "Compare", "changes", "on", "the", "client", "to", "changes", "on", "the", "server", "and", "update", "local", "files", "which", "have", "changed", "on", "the", "server", "." ]
def update(session_token: str, test_overrides = None, include_unchanged = False): if test_overrides is None: testing = False test_overrides = { 'resolve_to_override' : '', 'kill_mid_update' : 0 } else: testing = True client_changes = find_local_cha...
[ "def", "update", "(", "session_token", ":", "str", ",", "test_overrides", "=", "None", ",", "include_unchanged", "=", "False", ")", ":", "if", "test_overrides", "is", "None", ":", "testing", "=", "False", "test_overrides", "=", "{", "'resolve_to_override'", ":...
Compare changes on the client to changes on the server and update local files which have changed on the server.
[ "Compare", "changes", "on", "the", "client", "to", "changes", "on", "the", "server", "and", "update", "local", "files", "which", "have", "changed", "on", "the", "server", "." ]
[ "\"\"\" Compare changes on the client to changes on the server and update local files\n which have changed on the server. \"\"\"", "# ===========================", "# Send the changes and the revision of the most recent update to the server to find changes", "# Are there any changes?", "# Files which are...
[ { "param": "session_token", "type": "str" }, { "param": "test_overrides", "type": null }, { "param": "include_unchanged", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "session_token", "type": "str", "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "test_overrides", "type": null, "docstring": null, "...
285cbcbba882210f64ae83c0d254c4dc0dfd75ca
pfnet-research/bayesgrad
saliency/visualizer/smiles_visualizer.py
[ "MIT" ]
Python
min_max_scaler
<not_specific>
def min_max_scaler(saliency): """Normalize saliency to value 0-1""" maxv = numpy.max(saliency) minv = numpy.min(saliency) if maxv == minv: saliency = numpy.zeros_like(saliency) else: saliency = (saliency - minv) / (maxv - minv) return saliency
Normalize saliency to value 0-1
Normalize saliency to value 0-1
[ "Normalize", "saliency", "to", "value", "0", "-", "1" ]
def min_max_scaler(saliency): maxv = numpy.max(saliency) minv = numpy.min(saliency) if maxv == minv: saliency = numpy.zeros_like(saliency) else: saliency = (saliency - minv) / (maxv - minv) return saliency
[ "def", "min_max_scaler", "(", "saliency", ")", ":", "maxv", "=", "numpy", ".", "max", "(", "saliency", ")", "minv", "=", "numpy", ".", "min", "(", "saliency", ")", "if", "maxv", "==", "minv", ":", "saliency", "=", "numpy", ".", "zeros_like", "(", "sa...
Normalize saliency to value 0-1
[ "Normalize", "saliency", "to", "value", "0", "-", "1" ]
[ "\"\"\"Normalize saliency to value 0-1\"\"\"" ]
[ { "param": "saliency", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "saliency", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null } ], "outlier_params": [], "others": [] }
7de09b9a3577c592a7107bf1b8b5a6fac041db07
pfnet-research/bayesgrad
saliency/calculator/base_calculator.py
[ "MIT" ]
Python
_forward
<not_specific>
def _forward(self, data, fn=None, batchsize=16, converter=concat_examples, retain_inputs=False, preprocess_fn=None, postprocess_fn=None): """Forward data by iterating with batch Args: data: "train_x array" or "chainer dataset" fn (Callable): Mai...
Forward data by iterating with batch Args: data: "train_x array" or "chainer dataset" fn (Callable): Main function to forward. Its input argument is either Variable, cupy.ndarray or numpy.ndarray, and returns Variable. batchsize (int): batch s...
Forward data by iterating with batch
[ "Forward", "data", "by", "iterating", "with", "batch" ]
def _forward(self, data, fn=None, batchsize=16, converter=concat_examples, retain_inputs=False, preprocess_fn=None, postprocess_fn=None): input_list = None output_list = None it = SerialIterator(data, batch_size=batchsize, repeat=False, ...
[ "def", "_forward", "(", "self", ",", "data", ",", "fn", "=", "None", ",", "batchsize", "=", "16", ",", "converter", "=", "concat_examples", ",", "retain_inputs", "=", "False", ",", "preprocess_fn", "=", "None", ",", "postprocess_fn", "=", "None", ")", ":...
Forward data by iterating with batch
[ "Forward", "data", "by", "iterating", "with", "batch" ]
[ "\"\"\"Forward data by iterating with batch\n\n Args:\n data: \"train_x array\" or \"chainer dataset\"\n fn (Callable): Main function to forward. Its input argument is\n either Variable, cupy.ndarray or numpy.ndarray, and returns\n Variable.\n ba...
[ { "param": "self", "type": null }, { "param": "data", "type": null }, { "param": "fn", "type": null }, { "param": "batchsize", "type": null }, { "param": "converter", "type": null }, { "param": "retain_inputs", "type": null }, { "param": "p...
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "data", "type": null, "docstring": "\"train_x array\" or \"chainer d...
7509b30905025f03fb9b253ec6c0d033f48d5824
pfnet-research/bayesgrad
experiments/tox21/plot_precision_recall.py
[ "MIT" ]
Python
clip_original_size
<not_specific>
def clip_original_size(saliency, num_atoms): """`saliency` array is 0 padded, this method align to have original molecule's length """ assert len(saliency) == len(num_atoms) saliency_list = [] for i in range(len(saliency)): saliency_list.append(saliency[i, :nu...
`saliency` array is 0 padded, this method align to have original molecule's length
`saliency` array is 0 padded, this method align to have original molecule's length
[ "`", "saliency", "`", "array", "is", "0", "padded", "this", "method", "align", "to", "have", "original", "molecule", "'", "s", "length" ]
def clip_original_size(saliency, num_atoms): assert len(saliency) == len(num_atoms) saliency_list = [] for i in range(len(saliency)): saliency_list.append(saliency[i, :num_atoms[i]]) return saliency_list
[ "def", "clip_original_size", "(", "saliency", ",", "num_atoms", ")", ":", "assert", "len", "(", "saliency", ")", "==", "len", "(", "num_atoms", ")", "saliency_list", "=", "[", "]", "for", "i", "in", "range", "(", "len", "(", "saliency", ")", ")", ":", ...
`saliency` array is 0 padded, this method align to have original molecule's length
[ "`", "saliency", "`", "array", "is", "0", "padded", "this", "method", "align", "to", "have", "original", "molecule", "'", "s", "length" ]
[ "\"\"\"`saliency` array is 0 padded, this method align to have original\n molecule's length\n \"\"\"" ]
[ { "param": "saliency", "type": null }, { "param": "num_atoms", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "saliency", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "num_atoms", "type": null, "docstring": null, "docstring_t...
42e176f41c84135aeba0c4cbd069f4876c4fa88f
pfnet-research/bayesgrad
experiments/delaney/train.py
[ "MIT" ]
Python
clip_original_size
<not_specific>
def clip_original_size(saliency_, num_atoms_): """`saliency` array is 0 padded, this method align to have original molecule's length """ assert len(saliency_) == len(num_atoms_) saliency_list = [] for i in range(len(saliency_)): saliency_list.append(saliency_[...
`saliency` array is 0 padded, this method align to have original molecule's length
`saliency` array is 0 padded, this method align to have original molecule's length
[ "`", "saliency", "`", "array", "is", "0", "padded", "this", "method", "align", "to", "have", "original", "molecule", "'", "s", "length" ]
def clip_original_size(saliency_, num_atoms_): assert len(saliency_) == len(num_atoms_) saliency_list = [] for i in range(len(saliency_)): saliency_list.append(saliency_[i, :num_atoms_[i]]) return saliency_list
[ "def", "clip_original_size", "(", "saliency_", ",", "num_atoms_", ")", ":", "assert", "len", "(", "saliency_", ")", "==", "len", "(", "num_atoms_", ")", "saliency_list", "=", "[", "]", "for", "i", "in", "range", "(", "len", "(", "saliency_", ")", ")", ...
`saliency` array is 0 padded, this method align to have original molecule's length
[ "`", "saliency", "`", "array", "is", "0", "padded", "this", "method", "align", "to", "have", "original", "molecule", "'", "s", "length" ]
[ "\"\"\"`saliency` array is 0 padded, this method align to have original\n molecule's length\n \"\"\"" ]
[ { "param": "saliency_", "type": null }, { "param": "num_atoms_", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "saliency_", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "num_atoms_", "type": null, "docstring": null, "docstring...
3e375f7f1b3ebcb8fc73e75a4de4f8d74bae110e
openclimatefix/satflow
satflow/models/utils.py
[ "MIT" ]
Python
reverse_space_to_depth
np.ndarray
def reverse_space_to_depth( frames: np.ndarray, temporal_block_size: int = 1, spatial_block_size: int = 1 ) -> np.ndarray: """Reverse space to depth transform.""" if len(frames.shape) == 4: return einops.rearrange( frames, "b h w (dh dw c) -> b (h dh) (w dw) c", d...
Reverse space to depth transform.
Reverse space to depth transform.
[ "Reverse", "space", "to", "depth", "transform", "." ]
def reverse_space_to_depth( frames: np.ndarray, temporal_block_size: int = 1, spatial_block_size: int = 1 ) -> np.ndarray: if len(frames.shape) == 4: return einops.rearrange( frames, "b h w (dh dw c) -> b (h dh) (w dw) c", dh=spatial_block_size, dw=spatial...
[ "def", "reverse_space_to_depth", "(", "frames", ":", "np", ".", "ndarray", ",", "temporal_block_size", ":", "int", "=", "1", ",", "spatial_block_size", ":", "int", "=", "1", ")", "->", "np", ".", "ndarray", ":", "if", "len", "(", "frames", ".", "shape", ...
Reverse space to depth transform.
[ "Reverse", "space", "to", "depth", "transform", "." ]
[ "\"\"\"Reverse space to depth transform.\"\"\"" ]
[ { "param": "frames", "type": "np.ndarray" }, { "param": "temporal_block_size", "type": "int" }, { "param": "spatial_block_size", "type": "int" } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "frames", "type": "np.ndarray", "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "temporal_block_size", "type": "int", "docstring": null, ...
7974a2150277c0f5f4deaab3a183f210fea661c1
thibaultsmnt/gesync
main.py
[ "MIT" ]
Python
insert_events
null
def insert_events(service, calendar_id, events): """ Inserts events into the Google Calendar """ batch = service.new_batch_http_request() date_fmt = "%Y/%m/%d %H:%M" for event in events: start_date = datetime.strptime(event["DateDebut"], date_fmt) end_date = datetime.strptime(event["Date...
Inserts events into the Google Calendar
Inserts events into the Google Calendar
[ "Inserts", "events", "into", "the", "Google", "Calendar" ]
def insert_events(service, calendar_id, events): batch = service.new_batch_http_request() date_fmt = "%Y/%m/%d %H:%M" for event in events: start_date = datetime.strptime(event["DateDebut"], date_fmt) end_date = datetime.strptime(event["DateFin"], date_fmt) event = { 'summ...
[ "def", "insert_events", "(", "service", ",", "calendar_id", ",", "events", ")", ":", "batch", "=", "service", ".", "new_batch_http_request", "(", ")", "date_fmt", "=", "\"%Y/%m/%d %H:%M\"", "for", "event", "in", "events", ":", "start_date", "=", "datetime", "....
Inserts events into the Google Calendar
[ "Inserts", "events", "into", "the", "Google", "Calendar" ]
[ "\"\"\" Inserts events into the Google Calendar \"\"\"" ]
[ { "param": "service", "type": null }, { "param": "calendar_id", "type": null }, { "param": "events", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "service", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "calendar_id", "type": null, "docstring": null, "docstring_...
a1d8b60184bb31c93bb5780240460eb47646f039
except-pass/sewing
sewing/__init__.py
[ "Apache-2.0" ]
Python
start_log
<not_specific>
def start_log(logger_name=None): ''' Start a log that displays on stdout ''' logger = logging.getLogger(logger_name) screen_handler = logging.StreamHandler() formatter = logging.Formatter( fmt='[%(levelname)s] %(module)s(%(funcName)s)%(asctime)s--> %(lineno)s.\t %(message)s') scr...
Start a log that displays on stdout
Start a log that displays on stdout
[ "Start", "a", "log", "that", "displays", "on", "stdout" ]
def start_log(logger_name=None): logger = logging.getLogger(logger_name) screen_handler = logging.StreamHandler() formatter = logging.Formatter( fmt='[%(levelname)s] %(module)s(%(funcName)s)%(asctime)s--> %(lineno)s.\t %(message)s') screen_handler.setFormatter(formatter) if not logger.ha...
[ "def", "start_log", "(", "logger_name", "=", "None", ")", ":", "logger", "=", "logging", ".", "getLogger", "(", "logger_name", ")", "screen_handler", "=", "logging", ".", "StreamHandler", "(", ")", "formatter", "=", "logging", ".", "Formatter", "(", "fmt", ...
Start a log that displays on stdout
[ "Start", "a", "log", "that", "displays", "on", "stdout" ]
[ "'''\n Start a log that displays on stdout\n '''" ]
[ { "param": "logger_name", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "logger_name", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null } ], "outlier_params": [], "others": [] }
387e5600e4ba046e4187d9694725d493abe781ef
142342/Bikeshare-data-analysis
bikeshare.py
[ "MIT" ]
Python
load_data
<not_specific>
def load_data(city, month, day): """ Loads data for the specified city and filters by month and day if applicable. Args: (str) city - name of the city to analyze (str) month - name of the month to filter by, or "all" to apply no month filter (str) day - name of the day of wee...
Loads data for the specified city and filters by month and day if applicable. Args: (str) city - name of the city to analyze (str) month - name of the month to filter by, or "all" to apply no month filter (str) day - name of the day of week to filter by, or "all" to apply no day ...
Loads data for the specified city and filters by month and day if applicable. Args: (str) city - name of the city to analyze (str) month - name of the month to filter by, or "all" to apply no month filter (str) day - name of the day of week to filter by, or "all" to apply no day filter Returns: df - Pandas DataFrame co...
[ "Loads", "data", "for", "the", "specified", "city", "and", "filters", "by", "month", "and", "day", "if", "applicable", ".", "Args", ":", "(", "str", ")", "city", "-", "name", "of", "the", "city", "to", "analyze", "(", "str", ")", "month", "-", "name"...
def load_data(city, month, day): df = pd.read_csv(city_files.get(city)) df['Start Time'] = pd.to_datetime(df['Start Time'], yearfirst = True) fdf = df fdf['month'] = df['Start Time'].dt.month fdf['day'] = df['Start Time'].dt.weekday fdf['hour'] = df['Start Time'].dt.hour fdf['trip'] = "from ...
[ "def", "load_data", "(", "city", ",", "month", ",", "day", ")", ":", "df", "=", "pd", ".", "read_csv", "(", "city_files", ".", "get", "(", "city", ")", ")", "df", "[", "'Start Time'", "]", "=", "pd", ".", "to_datetime", "(", "df", "[", "'Start Time...
Loads data for the specified city and filters by month and day if applicable.
[ "Loads", "data", "for", "the", "specified", "city", "and", "filters", "by", "month", "and", "day", "if", "applicable", "." ]
[ "\"\"\"\r\n Loads data for the specified city and filters by month and day if applicable.\r\n\r\n Args:\r\n (str) city - name of the city to analyze\r\n (str) month - name of the month to filter by, or \"all\" to apply no month filter\r\n (str) day - name of the day of week to filter by, ...
[ { "param": "city", "type": null }, { "param": "month", "type": null }, { "param": "day", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "city", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "month", "type": null, "docstring": null, "docstring_tokens": ...
387e5600e4ba046e4187d9694725d493abe781ef
142342/Bikeshare-data-analysis
bikeshare.py
[ "MIT" ]
Python
time_stats
null
def time_stats(fdf): """Displays statistics on the most frequent times of travel.""" print('\nCalculating The Most Frequent Times of Travel...\n') start_time = time.time() # display the most common month mcm =fdf['month'].mode()[0] #most common month as an integer month_position = months...
Displays statistics on the most frequent times of travel.
Displays statistics on the most frequent times of travel.
[ "Displays", "statistics", "on", "the", "most", "frequent", "times", "of", "travel", "." ]
def time_stats(fdf): print('\nCalculating The Most Frequent Times of Travel...\n') start_time = time.time() mcm =fdf['month'].mode()[0] month_position = months_val_list.index(mcm) most_common_month = months_key_list[month_position].capitalize() print("The most common month for travel is: " + ...
[ "def", "time_stats", "(", "fdf", ")", ":", "print", "(", "'\\nCalculating The Most Frequent Times of Travel...\\n'", ")", "start_time", "=", "time", ".", "time", "(", ")", "mcm", "=", "fdf", "[", "'month'", "]", ".", "mode", "(", ")", "[", "0", "]", "month...
Displays statistics on the most frequent times of travel.
[ "Displays", "statistics", "on", "the", "most", "frequent", "times", "of", "travel", "." ]
[ "\"\"\"Displays statistics on the most frequent times of travel.\"\"\"", "# display the most common month\r", "#most common month as an integer\r", "#month's position\r", "#month's name\r", "# display the most common day of week\r", "#most common day as an integer\r", "#day's position\r", "#day's na...
[ { "param": "fdf", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "fdf", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null } ], "outlier_params": [], "others": [] }
387e5600e4ba046e4187d9694725d493abe781ef
142342/Bikeshare-data-analysis
bikeshare.py
[ "MIT" ]
Python
station_stats
null
def station_stats(fdf): """Displays statistics on the most popular stations and trip. Args: dataframe """ print('\nCalculating The Most Popular Stations and Trip...\n') start_time = time.time() # display most commonly used start station mcus = fdf['Start Station'].mode()[...
Displays statistics on the most popular stations and trip. Args: dataframe
Displays statistics on the most popular stations and trip. Args: dataframe
[ "Displays", "statistics", "on", "the", "most", "popular", "stations", "and", "trip", ".", "Args", ":", "dataframe" ]
def station_stats(fdf): print('\nCalculating The Most Popular Stations and Trip...\n') start_time = time.time() mcus = fdf['Start Station'].mode()[0] print(mcus + " is the most common start station") mces = fdf['End Station'].mode()[0] print(mces + " is the most common end station") mc_tri...
[ "def", "station_stats", "(", "fdf", ")", ":", "print", "(", "'\\nCalculating The Most Popular Stations and Trip...\\n'", ")", "start_time", "=", "time", ".", "time", "(", ")", "mcus", "=", "fdf", "[", "'Start Station'", "]", ".", "mode", "(", ")", "[", "0", ...
Displays statistics on the most popular stations and trip.
[ "Displays", "statistics", "on", "the", "most", "popular", "stations", "and", "trip", "." ]
[ "\"\"\"Displays statistics on the most popular stations and trip.\r\n Args:\r\n dataframe\r\n\r\n \"\"\"", "# display most commonly used start station\r", "# most common start station\r", "# display most commonly used end station\r", "# most common end station\r", "# display most frequent com...
[ { "param": "fdf", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "fdf", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null } ], "outlier_params": [], "others": [] }
387e5600e4ba046e4187d9694725d493abe781ef
142342/Bikeshare-data-analysis
bikeshare.py
[ "MIT" ]
Python
trip_duration_stats
null
def trip_duration_stats(fdf): """Displays statistics on the total and average trip duration.""" print('\nCalculating Trip Duration...\n') start_time = time.time() # display total travel time duration_total = fdf['Trip Duration'].sum(skipna = True) total_rounded = str(round(duration_total...
Displays statistics on the total and average trip duration.
Displays statistics on the total and average trip duration.
[ "Displays", "statistics", "on", "the", "total", "and", "average", "trip", "duration", "." ]
def trip_duration_stats(fdf): print('\nCalculating Trip Duration...\n') start_time = time.time() duration_total = fdf['Trip Duration'].sum(skipna = True) total_rounded = str(round(duration_total, 1)) print("Total trip durations are: " + total_rounded + " in seconds") duration_mean = fdf['Trip Du...
[ "def", "trip_duration_stats", "(", "fdf", ")", ":", "print", "(", "'\\nCalculating Trip Duration...\\n'", ")", "start_time", "=", "time", ".", "time", "(", ")", "duration_total", "=", "fdf", "[", "'Trip Duration'", "]", ".", "sum", "(", "skipna", "=", "True", ...
Displays statistics on the total and average trip duration.
[ "Displays", "statistics", "on", "the", "total", "and", "average", "trip", "duration", "." ]
[ "\"\"\"Displays statistics on the total and average trip duration.\"\"\"", "# display total travel time\r", "# display mean travel time\r" ]
[ { "param": "fdf", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "fdf", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null } ], "outlier_params": [], "others": [] }
387e5600e4ba046e4187d9694725d493abe781ef
142342/Bikeshare-data-analysis
bikeshare.py
[ "MIT" ]
Python
print_filtered
null
def print_filtered(fdf, month, months, day, days): '''Continuously asks the user if he wants to see the raw data, showing 5 lines at a time. Args: Takes the dataframe, month, months, day, and days. These have already been previously entered through get_filters(). Returns: ...
Continuously asks the user if he wants to see the raw data, showing 5 lines at a time. Args: Takes the dataframe, month, months, day, and days. These have already been previously entered through get_filters(). Returns: Nothing, but prints the dataframe 5 lines by 5 lines.
Continuously asks the user if he wants to see the raw data, showing 5 lines at a time. Args: Takes the dataframe, month, months, day, and days. These have already been previously entered through get_filters(). Returns: Nothing, but prints the dataframe 5 lines by 5 lines.
[ "Continuously", "asks", "the", "user", "if", "he", "wants", "to", "see", "the", "raw", "data", "showing", "5", "lines", "at", "a", "time", ".", "Args", ":", "Takes", "the", "dataframe", "month", "months", "day", "and", "days", ".", "These", "have", "al...
def print_filtered(fdf, month, months, day, days): accepted_inputs = ['yes', 'no'] m = months.get(month) d = days.get(day) view = str(input("Do you want to preview a section of the filtered DataFrame?\nAnswer with \'Yes\' or \'No\' \n")).lower().strip() pd.set_option('display.max_columns',13) if...
[ "def", "print_filtered", "(", "fdf", ",", "month", ",", "months", ",", "day", ",", "days", ")", ":", "accepted_inputs", "=", "[", "'yes'", ",", "'no'", "]", "m", "=", "months", ".", "get", "(", "month", ")", "d", "=", "days", ".", "get", "(", "da...
Continuously asks the user if he wants to see the raw data, showing 5 lines at a time.
[ "Continuously", "asks", "the", "user", "if", "he", "wants", "to", "see", "the", "raw", "data", "showing", "5", "lines", "at", "a", "time", "." ]
[ "'''Continuously asks the user if he wants to see the raw data, showing 5\r\n lines at a time.\r\n Args:\r\n Takes the dataframe, month, months, day, and days.\r\n These have already been previously entered through get_filters().\r\n Returns:\r\n Nothing, but prints the dataframe 5 lin...
[ { "param": "fdf", "type": null }, { "param": "month", "type": null }, { "param": "months", "type": null }, { "param": "day", "type": null }, { "param": "days", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "fdf", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "month", "type": null, "docstring": null, "docstring_tokens": [...
302b0d73a5706fedb5ebf30d19093194ebdeb6eb
christopher-braun-dl/stable-baselines3
stable_baselines3/mpdqn/mpdqn.py
[ "MIT" ]
Python
_on_step
None
def _on_step(self) -> None: """ Update the exploration rate and target network if needed. This method is called in ``collect_rollouts()`` after each step in the environment. """ return PDQN._on_step(self)
Update the exploration rate and target network if needed. This method is called in ``collect_rollouts()`` after each step in the environment.
Update the exploration rate and target network if needed. This method is called in ``collect_rollouts()`` after each step in the environment.
[ "Update", "the", "exploration", "rate", "and", "target", "network", "if", "needed", ".", "This", "method", "is", "called", "in", "`", "`", "collect_rollouts", "()", "`", "`", "after", "each", "step", "in", "the", "environment", "." ]
def _on_step(self) -> None: return PDQN._on_step(self)
[ "def", "_on_step", "(", "self", ")", "->", "None", ":", "return", "PDQN", ".", "_on_step", "(", "self", ")" ]
Update the exploration rate and target network if needed.
[ "Update", "the", "exploration", "rate", "and", "target", "network", "if", "needed", "." ]
[ "\"\"\"\n Update the exploration rate and target network if needed.\n This method is called in ``collect_rollouts()`` after each step in the environment.\n \"\"\"" ]
[ { "param": "self", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null } ], "outlier_params": [], "others": [] }
302b0d73a5706fedb5ebf30d19093194ebdeb6eb
christopher-braun-dl/stable-baselines3
stable_baselines3/mpdqn/mpdqn.py
[ "MIT" ]
Python
predict
Tuple[np.ndarray, Optional[np.ndarray]]
def predict( self, observation: np.ndarray, state: Optional[np.ndarray] = None, episode_start: Optional[np.ndarray] = None, deterministic: bool = False, ) -> Tuple[np.ndarray, Optional[np.ndarray]]: """ Overrides the base_class predict function to include epsi...
Overrides the base_class predict function to include epsilon-greedy exploration. :param observation: the input observation :param state: The last states (can be None, used in recurrent policies) :param mask: The last masks (can be None, used in recurrent policies) :param determi...
Overrides the base_class predict function to include epsilon-greedy exploration.
[ "Overrides", "the", "base_class", "predict", "function", "to", "include", "epsilon", "-", "greedy", "exploration", "." ]
def predict( self, observation: np.ndarray, state: Optional[np.ndarray] = None, episode_start: Optional[np.ndarray] = None, deterministic: bool = False, ) -> Tuple[np.ndarray, Optional[np.ndarray]]: return PDQN.predict(self, observation, state, episode_start, determin...
[ "def", "predict", "(", "self", ",", "observation", ":", "np", ".", "ndarray", ",", "state", ":", "Optional", "[", "np", ".", "ndarray", "]", "=", "None", ",", "episode_start", ":", "Optional", "[", "np", ".", "ndarray", "]", "=", "None", ",", "determ...
Overrides the base_class predict function to include epsilon-greedy exploration.
[ "Overrides", "the", "base_class", "predict", "function", "to", "include", "epsilon", "-", "greedy", "exploration", "." ]
[ "\"\"\"\n Overrides the base_class predict function to include epsilon-greedy exploration.\n :param observation: the input observation\n :param state: The last states (can be None, used in recurrent policies)\n :param mask: The last masks (can be None, used in recurrent policies)\n ...
[ { "param": "self", "type": null }, { "param": "observation", "type": "np.ndarray" }, { "param": "state", "type": "Optional[np.ndarray]" }, { "param": "episode_start", "type": "Optional[np.ndarray]" }, { "param": "deterministic", "type": "bool" } ]
{ "returns": [ { "docstring": "the model's action and the next state\n(used in recurrent policies)", "docstring_tokens": [ "the", "model", "'", "s", "action", "and", "the", "next", "state", "(", "used", "in...
302b0d73a5706fedb5ebf30d19093194ebdeb6eb
christopher-braun-dl/stable-baselines3
stable_baselines3/mpdqn/mpdqn.py
[ "MIT" ]
Python
_sample_action
Tuple[np.ndarray, np.ndarray]
def _sample_action( self, learning_starts: int, action_noise: Optional[ActionNoise] = None, n_envs: int = 1 ) -> Tuple[np.ndarray, np.ndarray]: """ Sample an action according to the exploration policy. This is either done by sampling the probability distribution of the policy, ...
Sample an action according to the exploration policy. This is either done by sampling the probability distribution of the policy, or sampling a random action (from a uniform distribution over the action space) or by adding noise to the deterministic output. :param action_noise: ...
Sample an action according to the exploration policy. This is either done by sampling the probability distribution of the policy, or sampling a random action (from a uniform distribution over the action space) or by adding noise to the deterministic output.
[ "Sample", "an", "action", "according", "to", "the", "exploration", "policy", ".", "This", "is", "either", "done", "by", "sampling", "the", "probability", "distribution", "of", "the", "policy", "or", "sampling", "a", "random", "action", "(", "from", "a", "uni...
def _sample_action( self, learning_starts: int, action_noise: Optional[ActionNoise] = None, n_envs: int = 1 ) -> Tuple[np.ndarray, np.ndarray]: return PDQN._sample_action(self, learning_starts, action_noise, n_envs)
[ "def", "_sample_action", "(", "self", ",", "learning_starts", ":", "int", ",", "action_noise", ":", "Optional", "[", "ActionNoise", "]", "=", "None", ",", "n_envs", ":", "int", "=", "1", ")", "->", "Tuple", "[", "np", ".", "ndarray", ",", "np", ".", ...
Sample an action according to the exploration policy.
[ "Sample", "an", "action", "according", "to", "the", "exploration", "policy", "." ]
[ "\"\"\"\n Sample an action according to the exploration policy.\n This is either done by sampling the probability distribution of the policy,\n or sampling a random action (from a uniform distribution over the action space)\n or by adding noise to the deterministic output.\n :para...
[ { "param": "self", "type": null }, { "param": "learning_starts", "type": "int" }, { "param": "action_noise", "type": "Optional[ActionNoise]" }, { "param": "n_envs", "type": "int" } ]
{ "returns": [ { "docstring": "action to take in the environment\nand scaled action that will be stored in the replay buffer.\nThe two differs when the action space is not normalized (bounds are not [-1, 1]).", "docstring_tokens": [ "action", "to", "take", "in", ...
302b0d73a5706fedb5ebf30d19093194ebdeb6eb
christopher-braun-dl/stable-baselines3
stable_baselines3/mpdqn/mpdqn.py
[ "MIT" ]
Python
_update_learning_rate
None
def _update_learning_rate(self, optimizer_q: th.optim.Optimizer, optimizer_parameter: th.optim.Optimizer) -> None: """ Update the optimizers learning rate using the current learning rate schedule and the current progress remaining (from 1 to 0). :param optimizers: An optimize...
Update the optimizers learning rate using the current learning rate schedule and the current progress remaining (from 1 to 0). :param optimizers: An optimizer or a list of optimizers.
Update the optimizers learning rate using the current learning rate schedule and the current progress remaining (from 1 to 0).
[ "Update", "the", "optimizers", "learning", "rate", "using", "the", "current", "learning", "rate", "schedule", "and", "the", "current", "progress", "remaining", "(", "from", "1", "to", "0", ")", "." ]
def _update_learning_rate(self, optimizer_q: th.optim.Optimizer, optimizer_parameter: th.optim.Optimizer) -> None: return PDQN._update_learning_rate(self, optimizer_q, optimizer_parameter)
[ "def", "_update_learning_rate", "(", "self", ",", "optimizer_q", ":", "th", ".", "optim", ".", "Optimizer", ",", "optimizer_parameter", ":", "th", ".", "optim", ".", "Optimizer", ")", "->", "None", ":", "return", "PDQN", ".", "_update_learning_rate", "(", "s...
Update the optimizers learning rate using the current learning rate schedule and the current progress remaining (from 1 to 0).
[ "Update", "the", "optimizers", "learning", "rate", "using", "the", "current", "learning", "rate", "schedule", "and", "the", "current", "progress", "remaining", "(", "from", "1", "to", "0", ")", "." ]
[ "\"\"\"\n Update the optimizers learning rate using the current learning rate schedule\n and the current progress remaining (from 1 to 0).\n :param optimizers:\n An optimizer or a list of optimizers.\n \"\"\"" ]
[ { "param": "self", "type": null }, { "param": "optimizer_q", "type": "th.optim.Optimizer" }, { "param": "optimizer_parameter", "type": "th.optim.Optimizer" } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "optimizer_q", "type": "th.optim.Optimizer", "docstring": null, ...
140af1f8076795c4dec53157ba1ec8185d319ae7
Karimx/SGBDR
SE/relacion.py
[ "Apache-2.0" ]
Python
_make_duplicate
null
def _make_duplicate(self, copy): '''Flag that the relation "copy" is pointing to the same set as this relation.''' self._readonly = True copy._readonly = True
Flag that the relation "copy" is pointing to the same set as this relation.
Flag that the relation "copy" is pointing to the same set as this relation.
[ "Flag", "that", "the", "relation", "\"", "copy", "\"", "is", "pointing", "to", "the", "same", "set", "as", "this", "relation", "." ]
def _make_duplicate(self, copy): self._readonly = True copy._readonly = True
[ "def", "_make_duplicate", "(", "self", ",", "copy", ")", ":", "self", ".", "_readonly", "=", "True", "copy", ".", "_readonly", "=", "True" ]
Flag that the relation "copy" is pointing to the same set as this relation.
[ "Flag", "that", "the", "relation", "\"", "copy", "\"", "is", "pointing", "to", "the", "same", "set", "as", "this", "relation", "." ]
[ "'''Flag that the relation \"copy\" is pointing\n to the same set as this relation.'''" ]
[ { "param": "self", "type": null }, { "param": "copy", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "copy", "type": null, "docstring": null, "docstring_tokens": [...
140af1f8076795c4dec53157ba1ec8185d319ae7
Karimx/SGBDR
SE/relacion.py
[ "Apache-2.0" ]
Python
_make_writable
null
def _make_writable(self, copy_content=True): '''If this relation is marked as readonly, this method will copy the content to make it writable too if copy_content is set to false, the caller must separately copy the content.''' if self._readonly: self._readonly = Fal...
If this relation is marked as readonly, this method will copy the content to make it writable too if copy_content is set to false, the caller must separately copy the content.
If this relation is marked as readonly, this method will copy the content to make it writable too if copy_content is set to false, the caller must separately copy the content.
[ "If", "this", "relation", "is", "marked", "as", "readonly", "this", "method", "will", "copy", "the", "content", "to", "make", "it", "writable", "too", "if", "copy_content", "is", "set", "to", "false", "the", "caller", "must", "separately", "copy", "the", "...
def _make_writable(self, copy_content=True): if self._readonly: self._readonly = False if copy_content: self.content = set(self.content)
[ "def", "_make_writable", "(", "self", ",", "copy_content", "=", "True", ")", ":", "if", "self", ".", "_readonly", ":", "self", ".", "_readonly", "=", "False", "if", "copy_content", ":", "self", ".", "content", "=", "set", "(", "self", ".", "content", "...
If this relation is marked as readonly, this method will copy the content to make it writable too
[ "If", "this", "relation", "is", "marked", "as", "readonly", "this", "method", "will", "copy", "the", "content", "to", "make", "it", "writable", "too" ]
[ "'''If this relation is marked as readonly, this\n method will copy the content to make it writable too\n\n if copy_content is set to false, the caller must\n separately copy the content.'''" ]
[ { "param": "self", "type": null }, { "param": "copy_content", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "copy_content", "type": null, "docstring": null, "docstring_to...
140af1f8076795c4dec53157ba1ec8185d319ae7
Karimx/SGBDR
SE/relacion.py
[ "Apache-2.0" ]
Python
save
null
def save(self, filename): ''' Saves the relation in a file. Will save using the csv format as defined in RFC4180. ''' with open(filename, 'w') as fp: writer = csv.writer(fp) # Creating csv writer # It wants an iterable containing iterables h...
Saves the relation in a file. Will save using the csv format as defined in RFC4180.
Saves the relation in a file. Will save using the csv format as defined in RFC4180.
[ "Saves", "the", "relation", "in", "a", "file", ".", "Will", "save", "using", "the", "csv", "format", "as", "defined", "in", "RFC4180", "." ]
def save(self, filename): with open(filename, 'w') as fp: writer = csv.writer(fp) head = (self.header,) writer.writerows(head) writer.writerows(self.content)
[ "def", "save", "(", "self", ",", "filename", ")", ":", "with", "open", "(", "filename", ",", "'w'", ")", "as", "fp", ":", "writer", "=", "csv", ".", "writer", "(", "fp", ")", "head", "=", "(", "self", ".", "header", ",", ")", "writer", ".", "wr...
Saves the relation in a file.
[ "Saves", "the", "relation", "in", "a", "file", "." ]
[ "'''\n Saves the relation in a file. Will save using the csv\n format as defined in RFC4180.\n '''", "# Creating csv writer", "# It wants an iterable containing iterables", "# Writing content, already in the correct format" ]
[ { "param": "self", "type": null }, { "param": "filename", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "filename", "type": null, "docstring": null, "docstring_tokens...
140af1f8076795c4dec53157ba1ec8185d319ae7
Karimx/SGBDR
SE/relacion.py
[ "Apache-2.0" ]
Python
_rearrange
<not_specific>
def _rearrange(self, other): '''If two relations share the same attributes in a different order, this method will use projection to make them have the same attributes' order. It is not exactely related to relational algebra. Just a method used internally. Will raise an exception ...
If two relations share the same attributes in a different order, this method will use projection to make them have the same attributes' order. It is not exactely related to relational algebra. Just a method used internally. Will raise an exception if they don't share the same attributes
If two relations share the same attributes in a different order, this method will use projection to make them have the same attributes' order. It is not exactely related to relational algebra. Just a method used internally. Will raise an exception if they don't share the same attributes
[ "If", "two", "relations", "share", "the", "same", "attributes", "in", "a", "different", "order", "this", "method", "will", "use", "projection", "to", "make", "them", "have", "the", "same", "attributes", "'", "order", ".", "It", "is", "not", "exactely", "re...
def _rearrange(self, other): if not isinstance(other, relation): raise TypeError('Expected an instance of the same class') elif self.header == other.header: return other elif self.header.sharedAttributes(other.header) == len(self.header): return other.projecti...
[ "def", "_rearrange", "(", "self", ",", "other", ")", ":", "if", "not", "isinstance", "(", "other", ",", "relation", ")", ":", "raise", "TypeError", "(", "'Expected an instance of the same class'", ")", "elif", "self", ".", "header", "==", "other", ".", "head...
If two relations share the same attributes in a different order, this method will use projection to make them have the same attributes' order.
[ "If", "two", "relations", "share", "the", "same", "attributes", "in", "a", "different", "order", "this", "method", "will", "use", "projection", "to", "make", "them", "have", "the", "same", "attributes", "'", "order", "." ]
[ "'''If two relations share the same attributes in a different order, this method\n will use projection to make them have the same attributes' order.\n It is not exactely related to relational algebra. Just a method used\n internally.\n Will raise an exception if they don't share the same...
[ { "param": "self", "type": null }, { "param": "other", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "other", "type": null, "docstring": null, "docstring_tokens": ...
140af1f8076795c4dec53157ba1ec8185d319ae7
Karimx/SGBDR
SE/relacion.py
[ "Apache-2.0" ]
Python
selection
<not_specific>
def selection(self, expr): ''' Selection, expr must be a valid Python expression; can contain field names. ''' newt = relation() newt.header = Header(self.header) c_expr = compile(expr, 'selection', 'eval') for i in self.content: # Fills the attribut...
Selection, expr must be a valid Python expression; can contain field names.
Selection, expr must be a valid Python expression; can contain field names.
[ "Selection", "expr", "must", "be", "a", "valid", "Python", "expression", ";", "can", "contain", "field", "names", "." ]
def selection(self, expr): newt = relation() newt.header = Header(self.header) c_expr = compile(expr, 'selection', 'eval') for i in self.content: attributes = {attr: i[j].autocast() for j, attr in enumerate(self.header) } ...
[ "def", "selection", "(", "self", ",", "expr", ")", ":", "newt", "=", "relation", "(", ")", "newt", ".", "header", "=", "Header", "(", "self", ".", "header", ")", "c_expr", "=", "compile", "(", "expr", ",", "'selection'", ",", "'eval'", ")", "for", ...
Selection, expr must be a valid Python expression; can contain field names.
[ "Selection", "expr", "must", "be", "a", "valid", "Python", "expression", ";", "can", "contain", "field", "names", "." ]
[ "'''\n Selection, expr must be a valid Python expression; can contain field names.\n '''", "# Fills the attributes dictionary with the values of the tuple" ]
[ { "param": "self", "type": null }, { "param": "expr", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "expr", "type": null, "docstring": null, "docstring_tokens": [...
140af1f8076795c4dec53157ba1ec8185d319ae7
Karimx/SGBDR
SE/relacion.py
[ "Apache-2.0" ]
Python
product
<not_specific>
def product(self, other): ''' Cartesian product. Attributes of the relations must differ. ''' if (not isinstance(other, relation)): raise Exception('Operand must be a relation') if self.header.sharedAttributes(other.header) != 0: raise Exception( ...
Cartesian product. Attributes of the relations must differ.
Cartesian product. Attributes of the relations must differ.
[ "Cartesian", "product", ".", "Attributes", "of", "the", "relations", "must", "differ", "." ]
def product(self, other): if (not isinstance(other, relation)): raise Exception('Operand must be a relation') if self.header.sharedAttributes(other.header) != 0: raise Exception( 'Unable to perform product on relations with colliding attributes' ) ...
[ "def", "product", "(", "self", ",", "other", ")", ":", "if", "(", "not", "isinstance", "(", "other", ",", "relation", ")", ")", ":", "raise", "Exception", "(", "'Operand must be a relation'", ")", "if", "self", ".", "header", ".", "sharedAttributes", "(", ...
Cartesian product.
[ "Cartesian", "product", "." ]
[ "'''\n Cartesian product. Attributes of the relations must differ.\n '''" ]
[ { "param": "self", "type": null }, { "param": "other", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "other", "type": null, "docstring": null, "docstring_tokens": ...
140af1f8076795c4dec53157ba1ec8185d319ae7
Karimx/SGBDR
SE/relacion.py
[ "Apache-2.0" ]
Python
intersection
<not_specific>
def intersection(self, other): ''' Intersection operation. The result will contain items present in both operands. Will return an empty one if there are no common items. ''' other = self._rearrange(other) # Rearranges attributes' order newt = relation() n...
Intersection operation. The result will contain items present in both operands. Will return an empty one if there are no common items.
Intersection operation. The result will contain items present in both operands. Will return an empty one if there are no common items.
[ "Intersection", "operation", ".", "The", "result", "will", "contain", "items", "present", "in", "both", "operands", ".", "Will", "return", "an", "empty", "one", "if", "there", "are", "no", "common", "items", "." ]
def intersection(self, other): other = self._rearrange(other) newt = relation() newt.header = Header(self.header) newt.content = self.content.intersection(other.content) return newt
[ "def", "intersection", "(", "self", ",", "other", ")", ":", "other", "=", "self", ".", "_rearrange", "(", "other", ")", "newt", "=", "relation", "(", ")", "newt", ".", "header", "=", "Header", "(", "self", ".", "header", ")", "newt", ".", "content", ...
Intersection operation.
[ "Intersection", "operation", "." ]
[ "'''\n Intersection operation. The result will contain items present in both\n operands.\n Will return an empty one if there are no common items.\n '''", "# Rearranges attributes' order" ]
[ { "param": "self", "type": null }, { "param": "other", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "other", "type": null, "docstring": null, "docstring_tokens": ...
140af1f8076795c4dec53157ba1ec8185d319ae7
Karimx/SGBDR
SE/relacion.py
[ "Apache-2.0" ]
Python
difference
<not_specific>
def difference(self, other): '''Difference operation. The result will contain items present in first operand but not in second one. ''' other = self._rearrange(other) # Rearranges attributes' order newt = relation() newt.header = Header(self.header) newt.content...
Difference operation. The result will contain items present in first operand but not in second one.
Difference operation. The result will contain items present in first operand but not in second one.
[ "Difference", "operation", ".", "The", "result", "will", "contain", "items", "present", "in", "first", "operand", "but", "not", "in", "second", "one", "." ]
def difference(self, other): other = self._rearrange(other) newt = relation() newt.header = Header(self.header) newt.content = self.content.difference(other.content) return newt
[ "def", "difference", "(", "self", ",", "other", ")", ":", "other", "=", "self", ".", "_rearrange", "(", "other", ")", "newt", "=", "relation", "(", ")", "newt", ".", "header", "=", "Header", "(", "self", ".", "header", ")", "newt", ".", "content", ...
Difference operation.
[ "Difference", "operation", "." ]
[ "'''Difference operation. The result will contain items present in first\n operand but not in second one.\n '''", "# Rearranges attributes' order" ]
[ { "param": "self", "type": null }, { "param": "other", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "other", "type": null, "docstring": null, "docstring_tokens": ...
140af1f8076795c4dec53157ba1ec8185d319ae7
Karimx/SGBDR
SE/relacion.py
[ "Apache-2.0" ]
Python
union
<not_specific>
def union(self, other): '''Union operation. The result will contain items present in first and second operands. ''' other = self._rearrange(other) # Rearranges attributes' order newt = relation() newt.header = Header(self.header) newt.content = self.content.unio...
Union operation. The result will contain items present in first and second operands.
Union operation. The result will contain items present in first and second operands.
[ "Union", "operation", ".", "The", "result", "will", "contain", "items", "present", "in", "first", "and", "second", "operands", "." ]
def union(self, other): other = self._rearrange(other) newt = relation() newt.header = Header(self.header) newt.content = self.content.union(other.content) return newt
[ "def", "union", "(", "self", ",", "other", ")", ":", "other", "=", "self", ".", "_rearrange", "(", "other", ")", "newt", "=", "relation", "(", ")", "newt", ".", "header", "=", "Header", "(", "self", ".", "header", ")", "newt", ".", "content", "=", ...
Union operation.
[ "Union", "operation", "." ]
[ "'''Union operation. The result will contain items present in first\n and second operands.\n '''", "# Rearranges attributes' order" ]
[ { "param": "self", "type": null }, { "param": "other", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "other", "type": null, "docstring": null, "docstring_tokens": ...
140af1f8076795c4dec53157ba1ec8185d319ae7
Karimx/SGBDR
SE/relacion.py
[ "Apache-2.0" ]
Python
outer
<not_specific>
def outer(self, other): '''Does a left and a right outer join and returns their union.''' a = self.outer_right(other) b = self.outer_left(other) return a.union(b)
Does a left and a right outer join and returns their union.
Does a left and a right outer join and returns their union.
[ "Does", "a", "left", "and", "a", "right", "outer", "join", "and", "returns", "their", "union", "." ]
def outer(self, other): a = self.outer_right(other) b = self.outer_left(other) return a.union(b)
[ "def", "outer", "(", "self", ",", "other", ")", ":", "a", "=", "self", ".", "outer_right", "(", "other", ")", "b", "=", "self", ".", "outer_left", "(", "other", ")", "return", "a", ".", "union", "(", "b", ")" ]
Does a left and a right outer join and returns their union.
[ "Does", "a", "left", "and", "a", "right", "outer", "join", "and", "returns", "their", "union", "." ]
[ "'''Does a left and a right outer join and returns their union.'''" ]
[ { "param": "self", "type": null }, { "param": "other", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "other", "type": null, "docstring": null, "docstring_tokens": ...
140af1f8076795c4dec53157ba1ec8185d319ae7
Karimx/SGBDR
SE/relacion.py
[ "Apache-2.0" ]
Python
outer_right
<not_specific>
def outer_right(self, other): ''' Outer right join. Considers self as left and param as right. If the tuple has no corrispondence, empy attributes are filled with a "---" string. This is due to the fact that the None token would cause problems when saving and reloading the relati...
Outer right join. Considers self as left and param as right. If the tuple has no corrispondence, empy attributes are filled with a "---" string. This is due to the fact that the None token would cause problems when saving and reloading the relation. Just like natural join, it wo...
Outer right join. Considers self as left and param as right. If the tuple has no corrispondence, empy attributes are filled with a "---" string. This is due to the fact that the None token would cause problems when saving and reloading the relation. Just like natural join, it works considering shared attributes.
[ "Outer", "right", "join", ".", "Considers", "self", "as", "left", "and", "param", "as", "right", ".", "If", "the", "tuple", "has", "no", "corrispondence", "empy", "attributes", "are", "filled", "with", "a", "\"", "---", "\"", "string", ".", "This", "is",...
def outer_right(self, other): return other.outer_left(self)
[ "def", "outer_right", "(", "self", ",", "other", ")", ":", "return", "other", ".", "outer_left", "(", "self", ")" ]
Outer right join.
[ "Outer", "right", "join", "." ]
[ "'''\n Outer right join. Considers self as left and param as right. If the\n tuple has no corrispondence, empy attributes are filled with a \"---\"\n string. This is due to the fact that the None token would cause\n problems when saving and reloading the relation.\n Just like natu...
[ { "param": "self", "type": null }, { "param": "other", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "other", "type": null, "docstring": null, "docstring_tokens": ...
140af1f8076795c4dec53157ba1ec8185d319ae7
Karimx/SGBDR
SE/relacion.py
[ "Apache-2.0" ]
Python
join
<not_specific>
def join(self, other): ''' Natural join, joins on shared attributes (one or more). If there are no shared attributes, it will behave as the cartesian product. ''' # List of attributes in common between the relations shared = self.header.intersection(other.header) ...
Natural join, joins on shared attributes (one or more). If there are no shared attributes, it will behave as the cartesian product.
Natural join, joins on shared attributes (one or more). If there are no shared attributes, it will behave as the cartesian product.
[ "Natural", "join", "joins", "on", "shared", "attributes", "(", "one", "or", "more", ")", ".", "If", "there", "are", "no", "shared", "attributes", "it", "will", "behave", "as", "the", "cartesian", "product", "." ]
def join(self, other): shared = self.header.intersection(other.header) newt = relation() h = (i for i in other.header if i not in shared) newt.header = Header(chain(self.header, h)) sid = self.header.getAttributesId(shared) oid = other.header.getAttributesId(shared) ...
[ "def", "join", "(", "self", ",", "other", ")", ":", "shared", "=", "self", ".", "header", ".", "intersection", "(", "other", ".", "header", ")", "newt", "=", "relation", "(", ")", "h", "=", "(", "i", "for", "i", "in", "other", ".", "header", "if"...
Natural join, joins on shared attributes (one or more).
[ "Natural", "join", "joins", "on", "shared", "attributes", "(", "one", "or", "more", ")", "." ]
[ "'''\n Natural join, joins on shared attributes (one or more). If there are no\n shared attributes, it will behave as the cartesian product.\n '''", "# List of attributes in common between the relations", "# Creates the new relation", "# Creating the header with all the fields, done like ...
[ { "param": "self", "type": null }, { "param": "other", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "other", "type": null, "docstring": null, "docstring_tokens": ...
140af1f8076795c4dec53157ba1ec8185d319ae7
Karimx/SGBDR
SE/relacion.py
[ "Apache-2.0" ]
Python
update
<not_specific>
def update(self, expr, dic): ''' Updates certain values of a relation. expr must be a valid Python expression that can contain field names. This operation will change the relation itself instead of generating a new one, updating all the tuples where expr evaluates as True. ...
Updates certain values of a relation. expr must be a valid Python expression that can contain field names. This operation will change the relation itself instead of generating a new one, updating all the tuples where expr evaluates as True. Dic must be a dictionary that has t...
Updates certain values of a relation. expr must be a valid Python expression that can contain field names. This operation will change the relation itself instead of generating a new one, updating all the tuples where expr evaluates as True. Dic must be a dictionary that has the form "field name":"new value". Every ki...
[ "Updates", "certain", "values", "of", "a", "relation", ".", "expr", "must", "be", "a", "valid", "Python", "expression", "that", "can", "contain", "field", "names", ".", "This", "operation", "will", "change", "the", "relation", "itself", "instead", "of", "gen...
def update(self, expr, dic): self._make_writable(copy_content=False) affected = self.selection(expr) not_affected = self.difference(affected) new_values = tuple( zip(self.header.getAttributesId(dic.keys()), dic.values()) ) for i in set(affected.content): ...
[ "def", "update", "(", "self", ",", "expr", ",", "dic", ")", ":", "self", ".", "_make_writable", "(", "copy_content", "=", "False", ")", "affected", "=", "self", ".", "selection", "(", "expr", ")", "not_affected", "=", "self", ".", "difference", "(", "a...
Updates certain values of a relation.
[ "Updates", "certain", "values", "of", "a", "relation", "." ]
[ "'''\n Updates certain values of a relation.\n\n expr must be a valid Python expression that can contain field names.\n\n This operation will change the relation itself instead of generating a new one,\n updating all the tuples where expr evaluates as True.\n\n Dic must be a dicti...
[ { "param": "self", "type": null }, { "param": "expr", "type": null }, { "param": "dic", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "expr", "type": null, "docstring": null, "docstring_tokens": [...
140af1f8076795c4dec53157ba1ec8185d319ae7
Karimx/SGBDR
SE/relacion.py
[ "Apache-2.0" ]
Python
insert
<not_specific>
def insert(self, values): ''' Inserts a tuple in the relation. This function will not insert duplicate tuples. All the values will be converted in string. Will return the number of inserted rows. Will fail if the tuple has the wrong amount of items. ''' ...
Inserts a tuple in the relation. This function will not insert duplicate tuples. All the values will be converted in string. Will return the number of inserted rows. Will fail if the tuple has the wrong amount of items.
Inserts a tuple in the relation. This function will not insert duplicate tuples. All the values will be converted in string. Will return the number of inserted rows. Will fail if the tuple has the wrong amount of items.
[ "Inserts", "a", "tuple", "in", "the", "relation", ".", "This", "function", "will", "not", "insert", "duplicate", "tuples", ".", "All", "the", "values", "will", "be", "converted", "in", "string", ".", "Will", "return", "the", "number", "of", "inserted", "ro...
def insert(self, values): if len(self.header) != len(values): raise Exception( 'Tuple has the wrong size. Expected %d, got %d' % ( len(self.header), len(values) ) ) self._make_writable() prevlen = len...
[ "def", "insert", "(", "self", ",", "values", ")", ":", "if", "len", "(", "self", ".", "header", ")", "!=", "len", "(", "values", ")", ":", "raise", "Exception", "(", "'Tuple has the wrong size. Expected %d, got %d'", "%", "(", "len", "(", "self", ".", "h...
Inserts a tuple in the relation.
[ "Inserts", "a", "tuple", "in", "the", "relation", "." ]
[ "'''\n Inserts a tuple in the relation.\n This function will not insert duplicate tuples.\n All the values will be converted in string.\n Will return the number of inserted rows.\n\n Will fail if the tuple has the wrong amount of items.\n '''" ]
[ { "param": "self", "type": null }, { "param": "values", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "values", "type": null, "docstring": null, "docstring_tokens":...
140af1f8076795c4dec53157ba1ec8185d319ae7
Karimx/SGBDR
SE/relacion.py
[ "Apache-2.0" ]
Python
delete
<not_specific>
def delete(self, expr): ''' Delete, expr must be a valid Python expression; can contain field names. This operation will change the relation itself instead of generating a new one, deleting all the tuples where expr evaluates as True. Returns the number of affected rows.''' ...
Delete, expr must be a valid Python expression; can contain field names. This operation will change the relation itself instead of generating a new one, deleting all the tuples where expr evaluates as True. Returns the number of affected rows.
Delete, expr must be a valid Python expression; can contain field names. This operation will change the relation itself instead of generating a new one, deleting all the tuples where expr evaluates as True. Returns the number of affected rows.
[ "Delete", "expr", "must", "be", "a", "valid", "Python", "expression", ";", "can", "contain", "field", "names", ".", "This", "operation", "will", "change", "the", "relation", "itself", "instead", "of", "generating", "a", "new", "one", "deleting", "all", "the"...
def delete(self, expr): l = len(self.content) self._make_writable(copy_content=False) self.content = self.difference(self.selection(expr)).content return len(self.content) - l
[ "def", "delete", "(", "self", ",", "expr", ")", ":", "l", "=", "len", "(", "self", ".", "content", ")", "self", ".", "_make_writable", "(", "copy_content", "=", "False", ")", "self", ".", "content", "=", "self", ".", "difference", "(", "self", ".", ...
Delete, expr must be a valid Python expression; can contain field names.
[ "Delete", "expr", "must", "be", "a", "valid", "Python", "expression", ";", "can", "contain", "field", "names", "." ]
[ "'''\n Delete, expr must be a valid Python expression; can contain field names.\n\n This operation will change the relation itself instead of generating a new one,\n deleting all the tuples where expr evaluates as True.\n\n Returns the number of affected rows.'''" ]
[ { "param": "self", "type": null }, { "param": "expr", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "expr", "type": null, "docstring": null, "docstring_tokens": [...
140af1f8076795c4dec53157ba1ec8185d319ae7
Karimx/SGBDR
SE/relacion.py
[ "Apache-2.0" ]
Python
rename
<not_specific>
def rename(self, params): '''Returns a new header, with renamed fields. params is a dictionary of {old:new} names ''' attrs = list(self) for old, new in params.items(): if not is_valid_relation_name(new): raise Exception('%s is not a valid attribute n...
Returns a new header, with renamed fields. params is a dictionary of {old:new} names
Returns a new header, with renamed fields. params is a dictionary of {old:new} names
[ "Returns", "a", "new", "header", "with", "renamed", "fields", ".", "params", "is", "a", "dictionary", "of", "{", "old", ":", "new", "}", "names" ]
def rename(self, params): attrs = list(self) for old, new in params.items(): if not is_valid_relation_name(new): raise Exception('%s is not a valid attribute name' % new) try: id_ = attrs.index(old) attrs[id_] = new exce...
[ "def", "rename", "(", "self", ",", "params", ")", ":", "attrs", "=", "list", "(", "self", ")", "for", "old", ",", "new", "in", "params", ".", "items", "(", ")", ":", "if", "not", "is_valid_relation_name", "(", "new", ")", ":", "raise", "Exception", ...
Returns a new header, with renamed fields.
[ "Returns", "a", "new", "header", "with", "renamed", "fields", "." ]
[ "'''Returns a new header, with renamed fields.\n\n params is a dictionary of {old:new} names\n '''" ]
[ { "param": "self", "type": null }, { "param": "params", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "params", "type": null, "docstring": null, "docstring_tokens":...
b3a15c52566ad3c63d0ff043b29d487969c5c0ed
mikaylakonst/spoonacular-api-clients
python/spoonacular/configuration.py
[ "MIT" ]
Python
auth_settings
<not_specific>
def auth_settings(self): """Gets Auth Settings dict for api client. :return: The Auth Settings information dict. """ return { 'apiKeyScheme': { 'type': 'api_key', 'in': 'query', 'key': 'api_key', ...
Gets Auth Settings dict for api client. :return: The Auth Settings information dict.
Gets Auth Settings dict for api client.
[ "Gets", "Auth", "Settings", "dict", "for", "api", "client", "." ]
def auth_settings(self): return { 'apiKeyScheme': { 'type': 'api_key', 'in': 'query', 'key': 'api_key', 'value': self.get_api_key_with_prefix('api_key') }, }
[ "def", "auth_settings", "(", "self", ")", ":", "return", "{", "'apiKeyScheme'", ":", "{", "'type'", ":", "'api_key'", ",", "'in'", ":", "'query'", ",", "'key'", ":", "'api_key'", ",", "'value'", ":", "self", ".", "get_api_key_with_prefix", "(", "'api_key'", ...
Gets Auth Settings dict for api client.
[ "Gets", "Auth", "Settings", "dict", "for", "api", "client", "." ]
[ "\"\"\"Gets Auth Settings dict for api client.\n\n :return: The Auth Settings information dict.\n \"\"\"" ]
[ { "param": "self", "type": null } ]
{ "returns": [ { "docstring": "The Auth Settings information dict.", "docstring_tokens": [ "The", "Auth", "Settings", "information", "dict", "." ], "type": null } ], "raises": [], "params": [ { "identifier": "self", ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
analyze_a_recipe_search_query
<not_specific>
def analyze_a_recipe_search_query(self, q, **kwargs): # noqa: E501 """Analyze a Recipe Search Query # noqa: E501 Parse a recipe search query to find out its intention. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please p...
Analyze a Recipe Search Query # noqa: E501 Parse a recipe search query to find out its intention. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.analyze_a_recipe_search_query(q, as...
Analyze a Recipe Search Query # noqa: E501 Parse a recipe search query to find out its intention. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str q: The recipe search query. (required) :return: object If the method is called asynchronously, returns the request t...
[ "Analyze", "a", "Recipe", "Search", "Query", "#", "noqa", ":", "E501", "Parse", "a", "recipe", "search", "query", "to", "find", "out", "its", "intention", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "request", "b...
def analyze_a_recipe_search_query(self, q, **kwargs): """Analyze a Recipe Search Query Parse a recipe search query to find out its intention. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread...
[ "def", "analyze_a_recipe_search_query", "(", "self", ",", "q", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "analyze_a_recipe_search...
Analyze a Recipe Search Query # noqa: E501 Parse a recipe search query to find out its intention.
[ "Analyze", "a", "Recipe", "Search", "Query", "#", "noqa", ":", "E501", "Parse", "a", "recipe", "search", "query", "to", "find", "out", "its", "intention", "." ]
[ "# noqa: E501", "\"\"\"Analyze a Recipe Search Query # noqa: E501\n\n Parse a recipe search query to find out its intention. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.a...
[ { "param": "self", "type": null }, { "param": "q", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "q", "type": null, "docstring": null, "docstring_tokens": [], ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
analyze_a_recipe_search_query_with_http_info
<not_specific>
def analyze_a_recipe_search_query_with_http_info(self, q, **kwargs): # noqa: E501 """Analyze a Recipe Search Query # noqa: E501 Parse a recipe search query to find out its intention. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP re...
Analyze a Recipe Search Query # noqa: E501 Parse a recipe search query to find out its intention. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.analyze_a_recipe_search_query_with_...
Analyze a Recipe Search Query # noqa: E501 Parse a recipe search query to find out its intention. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str q: The recipe search query. (required) :return: object If the method is called asynchronously, returns the request t...
[ "Analyze", "a", "Recipe", "Search", "Query", "#", "noqa", ":", "E501", "Parse", "a", "recipe", "search", "query", "to", "find", "out", "its", "intention", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "request", "b...
def analyze_a_recipe_search_query_with_http_info(self, q, **kwargs): """Analyze a Recipe Search Query Parse a recipe search query to find out its intention. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True ...
[ "def", "analyze_a_recipe_search_query_with_http_info", "(", "self", ",", "q", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'q'", "]", "all_params", ".", "append", "(", "'async_req'", ")", "all_params", "....
Analyze a Recipe Search Query # noqa: E501 Parse a recipe search query to find out its intention.
[ "Analyze", "a", "Recipe", "Search", "Query", "#", "noqa", ":", "E501", "Parse", "a", "recipe", "search", "query", "to", "find", "out", "its", "intention", "." ]
[ "# noqa: E501", "\"\"\"Analyze a Recipe Search Query # noqa: E501\n\n Parse a recipe search query to find out its intention. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.a...
[ { "param": "self", "type": null }, { "param": "q", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "q", "type": null, "docstring": null, "docstring_tokens": [], ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
analyze_recipe_instructions
<not_specific>
def analyze_recipe_instructions(self, instructions, **kwargs): # noqa: E501 """Analyze Recipe Instructions # noqa: E501 This endpoint allows you to break down instructions into atomic steps. Furthermore, each step will contain the ingredients and equipment required. Additionally, all ingredients and ...
Analyze Recipe Instructions # noqa: E501 This endpoint allows you to break down instructions into atomic steps. Furthermore, each step will contain the ingredients and equipment required. Additionally, all ingredients and equipment from the recipe's instructions will be extracted independently of the step the...
Analyze Recipe Instructions # noqa: E501 This endpoint allows you to break down instructions into atomic steps. Furthermore, each step will contain the ingredients and equipment required. Additionally, all ingredients and equipment from the recipe's instructions will be extracted independently of the step they're used...
[ "Analyze", "Recipe", "Instructions", "#", "noqa", ":", "E501", "This", "endpoint", "allows", "you", "to", "break", "down", "instructions", "into", "atomic", "steps", ".", "Furthermore", "each", "step", "will", "contain", "the", "ingredients", "and", "equipment",...
def analyze_recipe_instructions(self, instructions, **kwargs): """Analyze Recipe Instructions This endpoint allows you to break down instructions into atomic steps. Furthermore, each step will contain the ingredients and equipment required. Additionally, all ingredients and equipment from the recipe...
[ "def", "analyze_recipe_instructions", "(", "self", ",", "instructions", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "analyze_recipe...
Analyze Recipe Instructions # noqa: E501 This endpoint allows you to break down instructions into atomic steps.
[ "Analyze", "Recipe", "Instructions", "#", "noqa", ":", "E501", "This", "endpoint", "allows", "you", "to", "break", "down", "instructions", "into", "atomic", "steps", "." ]
[ "# noqa: E501", "\"\"\"Analyze Recipe Instructions # noqa: E501\n\n This endpoint allows you to break down instructions into atomic steps. Furthermore, each step will contain the ingredients and equipment required. Additionally, all ingredients and equipment from the recipe's instructions will be extracte...
[ { "param": "self", "type": null }, { "param": "instructions", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "instructions", "type": null, "docstring": null, "docstring_to...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
analyze_recipe_instructions_with_http_info
<not_specific>
def analyze_recipe_instructions_with_http_info(self, instructions, **kwargs): # noqa: E501 """Analyze Recipe Instructions # noqa: E501 This endpoint allows you to break down instructions into atomic steps. Furthermore, each step will contain the ingredients and equipment required. Additionally, all i...
Analyze Recipe Instructions # noqa: E501 This endpoint allows you to break down instructions into atomic steps. Furthermore, each step will contain the ingredients and equipment required. Additionally, all ingredients and equipment from the recipe's instructions will be extracted independently of the step the...
Analyze Recipe Instructions # noqa: E501 This endpoint allows you to break down instructions into atomic steps. Furthermore, each step will contain the ingredients and equipment required. Additionally, all ingredients and equipment from the recipe's instructions will be extracted independently of the step they're used...
[ "Analyze", "Recipe", "Instructions", "#", "noqa", ":", "E501", "This", "endpoint", "allows", "you", "to", "break", "down", "instructions", "into", "atomic", "steps", ".", "Furthermore", "each", "step", "will", "contain", "the", "ingredients", "and", "equipment",...
def analyze_recipe_instructions_with_http_info(self, instructions, **kwargs): """Analyze Recipe Instructions This endpoint allows you to break down instructions into atomic steps. Furthermore, each step will contain the ingredients and equipment required. Additionally, all ingredients and equipment ...
[ "def", "analyze_recipe_instructions_with_http_info", "(", "self", ",", "instructions", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'instructions'", "]", "all_params", ".", "append", "(", "'async_req'", ")", ...
Analyze Recipe Instructions # noqa: E501 This endpoint allows you to break down instructions into atomic steps.
[ "Analyze", "Recipe", "Instructions", "#", "noqa", ":", "E501", "This", "endpoint", "allows", "you", "to", "break", "down", "instructions", "into", "atomic", "steps", "." ]
[ "# noqa: E501", "\"\"\"Analyze Recipe Instructions # noqa: E501\n\n This endpoint allows you to break down instructions into atomic steps. Furthermore, each step will contain the ingredients and equipment required. Additionally, all ingredients and equipment from the recipe's instructions will be extracte...
[ { "param": "self", "type": null }, { "param": "instructions", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "instructions", "type": null, "docstring": null, "docstring_to...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
autocomplete_ingredient_search
<not_specific>
def autocomplete_ingredient_search(self, query, **kwargs): # noqa: E501 """Autocomplete Ingredient Search # noqa: E501 Autocomplete the entry of an ingredient. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass asyn...
Autocomplete Ingredient Search # noqa: E501 Autocomplete the entry of an ingredient. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.autocomplete_ingredient_search(query, async_req=...
Autocomplete Ingredient Search # noqa: E501 Autocomplete the entry of an ingredient. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str query: The partial or full ingredient name. (required) :param float number: The number of results to return (between 1 and 100). ...
[ "Autocomplete", "Ingredient", "Search", "#", "noqa", ":", "E501", "Autocomplete", "the", "entry", "of", "an", "ingredient", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "request", "by", "default", ".", ":", "param", ...
def autocomplete_ingredient_search(self, query, **kwargs): """Autocomplete Ingredient Search Autocomplete the entry of an ingredient. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.a...
[ "def", "autocomplete_ingredient_search", "(", "self", ",", "query", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "autocomplete_ingre...
Autocomplete Ingredient Search # noqa: E501 Autocomplete the entry of an ingredient.
[ "Autocomplete", "Ingredient", "Search", "#", "noqa", ":", "E501", "Autocomplete", "the", "entry", "of", "an", "ingredient", "." ]
[ "# noqa: E501", "\"\"\"Autocomplete Ingredient Search # noqa: E501\n\n Autocomplete the entry of an ingredient. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.autocomplete_i...
[ { "param": "self", "type": null }, { "param": "query", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "query", "type": null, "docstring": null, "docstring_tokens": ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
autocomplete_ingredient_search_with_http_info
<not_specific>
def autocomplete_ingredient_search_with_http_info(self, query, **kwargs): # noqa: E501 """Autocomplete Ingredient Search # noqa: E501 Autocomplete the entry of an ingredient. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, p...
Autocomplete Ingredient Search # noqa: E501 Autocomplete the entry of an ingredient. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.autocomplete_ingredient_search_with_http_info(qu...
Autocomplete Ingredient Search # noqa: E501 Autocomplete the entry of an ingredient. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str query: The partial or full ingredient name. (required) :param float number: The number of results to return (between 1 and 100). ...
[ "Autocomplete", "Ingredient", "Search", "#", "noqa", ":", "E501", "Autocomplete", "the", "entry", "of", "an", "ingredient", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "request", "by", "default", ".", ":", "param", ...
def autocomplete_ingredient_search_with_http_info(self, query, **kwargs): """Autocomplete Ingredient Search Autocomplete the entry of an ingredient. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>>...
[ "def", "autocomplete_ingredient_search_with_http_info", "(", "self", ",", "query", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'query'", ",", "'number'", ",", "'meta_information'", ",", "'intolerances'", "]"...
Autocomplete Ingredient Search # noqa: E501 Autocomplete the entry of an ingredient.
[ "Autocomplete", "Ingredient", "Search", "#", "noqa", ":", "E501", "Autocomplete", "the", "entry", "of", "an", "ingredient", "." ]
[ "# noqa: E501", "\"\"\"Autocomplete Ingredient Search # noqa: E501\n\n Autocomplete the entry of an ingredient. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.autocomplete_i...
[ { "param": "self", "type": null }, { "param": "query", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "query", "type": null, "docstring": null, "docstring_tokens": ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
autocomplete_menu_item_search
<not_specific>
def autocomplete_menu_item_search(self, query, **kwargs): # noqa: E501 """Autocomplete Menu Item Search # noqa: E501 Generate suggestions for menu items based on a (partial) query. The matches will be found by looking in the title only. # noqa: E501 This method makes a synchronous HTTP reque...
Autocomplete Menu Item Search # noqa: E501 Generate suggestions for menu items based on a (partial) query. The matches will be found by looking in the title only. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=...
Autocomplete Menu Item Search # noqa: E501 Generate suggestions for menu items based on a (partial) query. The matches will be found by looking in the title only. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str query: The (partial) search query. (required) :para...
[ "Autocomplete", "Menu", "Item", "Search", "#", "noqa", ":", "E501", "Generate", "suggestions", "for", "menu", "items", "based", "on", "a", "(", "partial", ")", "query", ".", "The", "matches", "will", "be", "found", "by", "looking", "in", "the", "title", ...
def autocomplete_menu_item_search(self, query, **kwargs): """Autocomplete Menu Item Search Generate suggestions for menu items based on a (partial) query. The matches will be found by looking in the title only. This method makes a synchronous HTTP request by default. To make an asy...
[ "def", "autocomplete_menu_item_search", "(", "self", ",", "query", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "autocomplete_menu_i...
Autocomplete Menu Item Search # noqa: E501 Generate suggestions for menu items based on a (partial) query.
[ "Autocomplete", "Menu", "Item", "Search", "#", "noqa", ":", "E501", "Generate", "suggestions", "for", "menu", "items", "based", "on", "a", "(", "partial", ")", "query", "." ]
[ "# noqa: E501", "\"\"\"Autocomplete Menu Item Search # noqa: E501\n\n Generate suggestions for menu items based on a (partial) query. The matches will be found by looking in the title only. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTT...
[ { "param": "self", "type": null }, { "param": "query", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "query", "type": null, "docstring": null, "docstring_tokens": ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
autocomplete_menu_item_search_with_http_info
<not_specific>
def autocomplete_menu_item_search_with_http_info(self, query, **kwargs): # noqa: E501 """Autocomplete Menu Item Search # noqa: E501 Generate suggestions for menu items based on a (partial) query. The matches will be found by looking in the title only. # noqa: E501 This method makes a synchro...
Autocomplete Menu Item Search # noqa: E501 Generate suggestions for menu items based on a (partial) query. The matches will be found by looking in the title only. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=...
Autocomplete Menu Item Search # noqa: E501 Generate suggestions for menu items based on a (partial) query. The matches will be found by looking in the title only. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str query: The (partial) search query. (required) :para...
[ "Autocomplete", "Menu", "Item", "Search", "#", "noqa", ":", "E501", "Generate", "suggestions", "for", "menu", "items", "based", "on", "a", "(", "partial", ")", "query", ".", "The", "matches", "will", "be", "found", "by", "looking", "in", "the", "title", ...
def autocomplete_menu_item_search_with_http_info(self, query, **kwargs): """Autocomplete Menu Item Search Generate suggestions for menu items based on a (partial) query. The matches will be found by looking in the title only. This method makes a synchronous HTTP request by default. To make...
[ "def", "autocomplete_menu_item_search_with_http_info", "(", "self", ",", "query", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'query'", ",", "'number'", "]", "all_params", ".", "append", "(", "'async_req'"...
Autocomplete Menu Item Search # noqa: E501 Generate suggestions for menu items based on a (partial) query.
[ "Autocomplete", "Menu", "Item", "Search", "#", "noqa", ":", "E501", "Generate", "suggestions", "for", "menu", "items", "based", "on", "a", "(", "partial", ")", "query", "." ]
[ "# noqa: E501", "\"\"\"Autocomplete Menu Item Search # noqa: E501\n\n Generate suggestions for menu items based on a (partial) query. The matches will be found by looking in the title only. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTT...
[ { "param": "self", "type": null }, { "param": "query", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "query", "type": null, "docstring": null, "docstring_tokens": ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
autocomplete_product_search
<not_specific>
def autocomplete_product_search(self, query, **kwargs): # noqa: E501 """Autocomplete Product Search # noqa: E501 Generate suggestions for grocery products based on a (partial) query. The matches will be found by looking in the title only. # noqa: E501 This method makes a synchronous HTTP req...
Autocomplete Product Search # noqa: E501 Generate suggestions for grocery products based on a (partial) query. The matches will be found by looking in the title only. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_...
Autocomplete Product Search # noqa: E501 Generate suggestions for grocery products based on a (partial) query. The matches will be found by looking in the title only. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str query: The (partial) search query. (required) :...
[ "Autocomplete", "Product", "Search", "#", "noqa", ":", "E501", "Generate", "suggestions", "for", "grocery", "products", "based", "on", "a", "(", "partial", ")", "query", ".", "The", "matches", "will", "be", "found", "by", "looking", "in", "the", "title", "...
def autocomplete_product_search(self, query, **kwargs): """Autocomplete Product Search Generate suggestions for grocery products based on a (partial) query. The matches will be found by looking in the title only. This method makes a synchronous HTTP request by default. To make an a...
[ "def", "autocomplete_product_search", "(", "self", ",", "query", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "autocomplete_product_...
Autocomplete Product Search # noqa: E501 Generate suggestions for grocery products based on a (partial) query.
[ "Autocomplete", "Product", "Search", "#", "noqa", ":", "E501", "Generate", "suggestions", "for", "grocery", "products", "based", "on", "a", "(", "partial", ")", "query", "." ]
[ "# noqa: E501", "\"\"\"Autocomplete Product Search # noqa: E501\n\n Generate suggestions for grocery products based on a (partial) query. The matches will be found by looking in the title only. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous...
[ { "param": "self", "type": null }, { "param": "query", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "query", "type": null, "docstring": null, "docstring_tokens": ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
autocomplete_product_search_with_http_info
<not_specific>
def autocomplete_product_search_with_http_info(self, query, **kwargs): # noqa: E501 """Autocomplete Product Search # noqa: E501 Generate suggestions for grocery products based on a (partial) query. The matches will be found by looking in the title only. # noqa: E501 This method makes a synch...
Autocomplete Product Search # noqa: E501 Generate suggestions for grocery products based on a (partial) query. The matches will be found by looking in the title only. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_...
Autocomplete Product Search # noqa: E501 Generate suggestions for grocery products based on a (partial) query. The matches will be found by looking in the title only. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str query: The (partial) search query. (required) :...
[ "Autocomplete", "Product", "Search", "#", "noqa", ":", "E501", "Generate", "suggestions", "for", "grocery", "products", "based", "on", "a", "(", "partial", ")", "query", ".", "The", "matches", "will", "be", "found", "by", "looking", "in", "the", "title", "...
def autocomplete_product_search_with_http_info(self, query, **kwargs): """Autocomplete Product Search Generate suggestions for grocery products based on a (partial) query. The matches will be found by looking in the title only. This method makes a synchronous HTTP request by default. To ma...
[ "def", "autocomplete_product_search_with_http_info", "(", "self", ",", "query", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'query'", ",", "'number'", "]", "all_params", ".", "append", "(", "'async_req'", ...
Autocomplete Product Search # noqa: E501 Generate suggestions for grocery products based on a (partial) query.
[ "Autocomplete", "Product", "Search", "#", "noqa", ":", "E501", "Generate", "suggestions", "for", "grocery", "products", "based", "on", "a", "(", "partial", ")", "query", "." ]
[ "# noqa: E501", "\"\"\"Autocomplete Product Search # noqa: E501\n\n Generate suggestions for grocery products based on a (partial) query. The matches will be found by looking in the title only. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous...
[ { "param": "self", "type": null }, { "param": "query", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "query", "type": null, "docstring": null, "docstring_tokens": ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
autocomplete_recipe_search
<not_specific>
def autocomplete_recipe_search(self, query, **kwargs): # noqa: E501 """Autocomplete Recipe Search # noqa: E501 Autocomplete a partial input to suggest possible recipe names. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, pl...
Autocomplete Recipe Search # noqa: E501 Autocomplete a partial input to suggest possible recipe names. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.autocomplete_recipe_search(que...
Autocomplete Recipe Search # noqa: E501 Autocomplete a partial input to suggest possible recipe names. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str query: The query to be autocompleted. (required) :param float number: The number of results to return (between ...
[ "Autocomplete", "Recipe", "Search", "#", "noqa", ":", "E501", "Autocomplete", "a", "partial", "input", "to", "suggest", "possible", "recipe", "names", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "request", "by", "def...
def autocomplete_recipe_search(self, query, **kwargs): """Autocomplete Recipe Search Autocomplete a partial input to suggest possible recipe names. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> ...
[ "def", "autocomplete_recipe_search", "(", "self", ",", "query", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "autocomplete_recipe_se...
Autocomplete Recipe Search # noqa: E501 Autocomplete a partial input to suggest possible recipe names.
[ "Autocomplete", "Recipe", "Search", "#", "noqa", ":", "E501", "Autocomplete", "a", "partial", "input", "to", "suggest", "possible", "recipe", "names", "." ]
[ "# noqa: E501", "\"\"\"Autocomplete Recipe Search # noqa: E501\n\n Autocomplete a partial input to suggest possible recipe names. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = ...
[ { "param": "self", "type": null }, { "param": "query", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "query", "type": null, "docstring": null, "docstring_tokens": ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
autocomplete_recipe_search_with_http_info
<not_specific>
def autocomplete_recipe_search_with_http_info(self, query, **kwargs): # noqa: E501 """Autocomplete Recipe Search # noqa: E501 Autocomplete a partial input to suggest possible recipe names. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous H...
Autocomplete Recipe Search # noqa: E501 Autocomplete a partial input to suggest possible recipe names. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.autocomplete_recipe_search_wit...
Autocomplete Recipe Search # noqa: E501 Autocomplete a partial input to suggest possible recipe names. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str query: The query to be autocompleted. (required) :param float number: The number of results to return (between ...
[ "Autocomplete", "Recipe", "Search", "#", "noqa", ":", "E501", "Autocomplete", "a", "partial", "input", "to", "suggest", "possible", "recipe", "names", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "request", "by", "def...
def autocomplete_recipe_search_with_http_info(self, query, **kwargs): """Autocomplete Recipe Search Autocomplete a partial input to suggest possible recipe names. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=Tr...
[ "def", "autocomplete_recipe_search_with_http_info", "(", "self", ",", "query", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'query'", ",", "'number'", "]", "all_params", ".", "append", "(", "'async_req'", ...
Autocomplete Recipe Search # noqa: E501 Autocomplete a partial input to suggest possible recipe names.
[ "Autocomplete", "Recipe", "Search", "#", "noqa", ":", "E501", "Autocomplete", "a", "partial", "input", "to", "suggest", "possible", "recipe", "names", "." ]
[ "# noqa: E501", "\"\"\"Autocomplete Recipe Search # noqa: E501\n\n Autocomplete a partial input to suggest possible recipe names. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = ...
[ { "param": "self", "type": null }, { "param": "query", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "query", "type": null, "docstring": null, "docstring_tokens": ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
classify_grocery_product
<not_specific>
def classify_grocery_product(self, inline_object9, **kwargs): # noqa: E501 """Classify Grocery Product # noqa: E501 This endpoint allows you to match a packaged food to a basic category, e.g. a specific brand of milk to the category milk. # noqa: E501 This method makes a synchronous HTTP req...
Classify Grocery Product # noqa: E501 This endpoint allows you to match a packaged food to a basic category, e.g. a specific brand of milk to the category milk. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=Tr...
Classify Grocery Product # noqa: E501 This endpoint allows you to match a packaged food to a basic category, e.g. a specific brand of milk to the category milk. # noqa: E501 This method makes a synchronous HTTP request by default.
[ "Classify", "Grocery", "Product", "#", "noqa", ":", "E501", "This", "endpoint", "allows", "you", "to", "match", "a", "packaged", "food", "to", "a", "basic", "category", "e", ".", "g", ".", "a", "specific", "brand", "of", "milk", "to", "the", "category", ...
def classify_grocery_product(self, inline_object9, **kwargs): """Classify Grocery Product This endpoint allows you to match a packaged food to a basic category, e.g. a specific brand of milk to the category milk. This method makes a synchronous HTTP request by default. To make an a...
[ "def", "classify_grocery_product", "(", "self", ",", "inline_object9", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "classify_grocer...
Classify Grocery Product # noqa: E501 This endpoint allows you to match a packaged food to a basic category, e.g.
[ "Classify", "Grocery", "Product", "#", "noqa", ":", "E501", "This", "endpoint", "allows", "you", "to", "match", "a", "packaged", "food", "to", "a", "basic", "category", "e", ".", "g", "." ]
[ "# noqa: E501", "\"\"\"Classify Grocery Product # noqa: E501\n\n This endpoint allows you to match a packaged food to a basic category, e.g. a specific brand of milk to the category milk. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP ...
[ { "param": "self", "type": null }, { "param": "inline_object9", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "inline_object9", "type": null, "docstring": null, "docstring_...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
classify_grocery_product_with_http_info
<not_specific>
def classify_grocery_product_with_http_info(self, inline_object9, **kwargs): # noqa: E501 """Classify Grocery Product # noqa: E501 This endpoint allows you to match a packaged food to a basic category, e.g. a specific brand of milk to the category milk. # noqa: E501 This method makes a synch...
Classify Grocery Product # noqa: E501 This endpoint allows you to match a packaged food to a basic category, e.g. a specific brand of milk to the category milk. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=Tr...
Classify Grocery Product # noqa: E501 This endpoint allows you to match a packaged food to a basic category, e.g. a specific brand of milk to the category milk. # noqa: E501 This method makes a synchronous HTTP request by default.
[ "Classify", "Grocery", "Product", "#", "noqa", ":", "E501", "This", "endpoint", "allows", "you", "to", "match", "a", "packaged", "food", "to", "a", "basic", "category", "e", ".", "g", ".", "a", "specific", "brand", "of", "milk", "to", "the", "category", ...
def classify_grocery_product_with_http_info(self, inline_object9, **kwargs): """Classify Grocery Product This endpoint allows you to match a packaged food to a basic category, e.g. a specific brand of milk to the category milk. This method makes a synchronous HTTP request by default. To ma...
[ "def", "classify_grocery_product_with_http_info", "(", "self", ",", "inline_object9", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'inline_object9'", ",", "'locale'", "]", "all_params", ".", "append", "(", ...
Classify Grocery Product # noqa: E501 This endpoint allows you to match a packaged food to a basic category, e.g.
[ "Classify", "Grocery", "Product", "#", "noqa", ":", "E501", "This", "endpoint", "allows", "you", "to", "match", "a", "packaged", "food", "to", "a", "basic", "category", "e", ".", "g", "." ]
[ "# noqa: E501", "\"\"\"Classify Grocery Product # noqa: E501\n\n This endpoint allows you to match a packaged food to a basic category, e.g. a specific brand of milk to the category milk. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP ...
[ { "param": "self", "type": null }, { "param": "inline_object9", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "inline_object9", "type": null, "docstring": null, "docstring_...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
classify_grocery_product_bulk
<not_specific>
def classify_grocery_product_bulk(self, body, **kwargs): # noqa: E501 """Classify Grocery Product Bulk # noqa: E501 Provide a set of product jsons, get back classified products. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request...
Classify Grocery Product Bulk # noqa: E501 Provide a set of product jsons, get back classified products. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.classify_grocery_product_bul...
Classify Grocery Product Bulk # noqa: E501 Provide a set of product jsons, get back classified products. # noqa: E501 This method makes a synchronous HTTP request by default.
[ "Classify", "Grocery", "Product", "Bulk", "#", "noqa", ":", "E501", "Provide", "a", "set", "of", "product", "jsons", "get", "back", "classified", "products", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "request", "...
def classify_grocery_product_bulk(self, body, **kwargs): """Classify Grocery Product Bulk Provide a set of product jsons, get back classified products. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True ...
[ "def", "classify_grocery_product_bulk", "(", "self", ",", "body", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "classify_grocery_pro...
Classify Grocery Product Bulk # noqa: E501 Provide a set of product jsons, get back classified products.
[ "Classify", "Grocery", "Product", "Bulk", "#", "noqa", ":", "E501", "Provide", "a", "set", "of", "product", "jsons", "get", "back", "classified", "products", "." ]
[ "# noqa: E501", "\"\"\"Classify Grocery Product Bulk # noqa: E501\n\n Provide a set of product jsons, get back classified products. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread ...
[ { "param": "self", "type": null }, { "param": "body", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "body", "type": null, "docstring": null, "docstring_tokens": [...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
classify_grocery_product_bulk_with_http_info
<not_specific>
def classify_grocery_product_bulk_with_http_info(self, body, **kwargs): # noqa: E501 """Classify Grocery Product Bulk # noqa: E501 Provide a set of product jsons, get back classified products. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchrono...
Classify Grocery Product Bulk # noqa: E501 Provide a set of product jsons, get back classified products. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.classify_grocery_product_bul...
Classify Grocery Product Bulk # noqa: E501 Provide a set of product jsons, get back classified products. # noqa: E501 This method makes a synchronous HTTP request by default.
[ "Classify", "Grocery", "Product", "Bulk", "#", "noqa", ":", "E501", "Provide", "a", "set", "of", "product", "jsons", "get", "back", "classified", "products", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "request", "...
def classify_grocery_product_bulk_with_http_info(self, body, **kwargs): """Classify Grocery Product Bulk Provide a set of product jsons, get back classified products. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_re...
[ "def", "classify_grocery_product_bulk_with_http_info", "(", "self", ",", "body", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'body'", ",", "'locale'", "]", "all_params", ".", "append", "(", "'async_req'", ...
Classify Grocery Product Bulk # noqa: E501 Provide a set of product jsons, get back classified products.
[ "Classify", "Grocery", "Product", "Bulk", "#", "noqa", ":", "E501", "Provide", "a", "set", "of", "product", "jsons", "get", "back", "classified", "products", "." ]
[ "# noqa: E501", "\"\"\"Classify Grocery Product Bulk # noqa: E501\n\n Provide a set of product jsons, get back classified products. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread ...
[ { "param": "self", "type": null }, { "param": "body", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "body", "type": null, "docstring": null, "docstring_tokens": [...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
compute_glycemic_load
<not_specific>
def compute_glycemic_load(self, body, **kwargs): # noqa: E501 """Compute Glycemic Load # noqa: E501 Retrieve the glycemic index for a list of ingredients and compute the individual and total glycemic load. # noqa: E501 This method makes a synchronous HTTP request by default. To make an ...
Compute Glycemic Load # noqa: E501 Retrieve the glycemic index for a list of ingredients and compute the individual and total glycemic load. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> threa...
Compute Glycemic Load # noqa: E501 Retrieve the glycemic index for a list of ingredients and compute the individual and total glycemic load. # noqa: E501 This method makes a synchronous HTTP request by default.
[ "Compute", "Glycemic", "Load", "#", "noqa", ":", "E501", "Retrieve", "the", "glycemic", "index", "for", "a", "list", "of", "ingredients", "and", "compute", "the", "individual", "and", "total", "glycemic", "load", ".", "#", "noqa", ":", "E501", "This", "met...
def compute_glycemic_load(self, body, **kwargs): """Compute Glycemic Load Retrieve the glycemic index for a list of ingredients and compute the individual and total glycemic load. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please ...
[ "def", "compute_glycemic_load", "(", "self", ",", "body", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "compute_glycemic_load_with_h...
Compute Glycemic Load # noqa: E501 Retrieve the glycemic index for a list of ingredients and compute the individual and total glycemic load.
[ "Compute", "Glycemic", "Load", "#", "noqa", ":", "E501", "Retrieve", "the", "glycemic", "index", "for", "a", "list", "of", "ingredients", "and", "compute", "the", "individual", "and", "total", "glycemic", "load", "." ]
[ "# noqa: E501", "\"\"\"Compute Glycemic Load # noqa: E501\n\n Retrieve the glycemic index for a list of ingredients and compute the individual and total glycemic load. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass...
[ { "param": "self", "type": null }, { "param": "body", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "body", "type": null, "docstring": null, "docstring_tokens": [...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
compute_glycemic_load_with_http_info
<not_specific>
def compute_glycemic_load_with_http_info(self, body, **kwargs): # noqa: E501 """Compute Glycemic Load # noqa: E501 Retrieve the glycemic index for a list of ingredients and compute the individual and total glycemic load. # noqa: E501 This method makes a synchronous HTTP request by default. T...
Compute Glycemic Load # noqa: E501 Retrieve the glycemic index for a list of ingredients and compute the individual and total glycemic load. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> threa...
Compute Glycemic Load # noqa: E501 Retrieve the glycemic index for a list of ingredients and compute the individual and total glycemic load. # noqa: E501 This method makes a synchronous HTTP request by default.
[ "Compute", "Glycemic", "Load", "#", "noqa", ":", "E501", "Retrieve", "the", "glycemic", "index", "for", "a", "list", "of", "ingredients", "and", "compute", "the", "individual", "and", "total", "glycemic", "load", ".", "#", "noqa", ":", "E501", "This", "met...
def compute_glycemic_load_with_http_info(self, body, **kwargs): """Compute Glycemic Load Retrieve the glycemic index for a list of ingredients and compute the individual and total glycemic load. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP r...
[ "def", "compute_glycemic_load_with_http_info", "(", "self", ",", "body", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'body'", "]", "all_params", ".", "append", "(", "'async_req'", ")", "all_params", ".",...
Compute Glycemic Load # noqa: E501 Retrieve the glycemic index for a list of ingredients and compute the individual and total glycemic load.
[ "Compute", "Glycemic", "Load", "#", "noqa", ":", "E501", "Retrieve", "the", "glycemic", "index", "for", "a", "list", "of", "ingredients", "and", "compute", "the", "individual", "and", "total", "glycemic", "load", "." ]
[ "# noqa: E501", "\"\"\"Compute Glycemic Load # noqa: E501\n\n Retrieve the glycemic index for a list of ingredients and compute the individual and total glycemic load. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass...
[ { "param": "self", "type": null }, { "param": "body", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "body", "type": null, "docstring": null, "docstring_tokens": [...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
connect_user
<not_specific>
def connect_user(self, body, **kwargs): # noqa: E501 """Connect User # noqa: E501 In order to call user-specific endpoints, you need to connect your app's users to spoonacular users. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP re...
Connect User # noqa: E501 In order to call user-specific endpoints, you need to connect your app's users to spoonacular users. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.connec...
Connect User # noqa: E501 In order to call user-specific endpoints, you need to connect your app's users to spoonacular users. # noqa: E501 This method makes a synchronous HTTP request by default.
[ "Connect", "User", "#", "noqa", ":", "E501", "In", "order", "to", "call", "user", "-", "specific", "endpoints", "you", "need", "to", "connect", "your", "app", "'", "s", "users", "to", "spoonacular", "users", ".", "#", "noqa", ":", "E501", "This", "meth...
def connect_user(self, body, **kwargs): """Connect User In order to call user-specific endpoints, you need to connect your app's users to spoonacular users. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True ...
[ "def", "connect_user", "(", "self", ",", "body", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "connect_user_with_http_info", "(", ...
Connect User # noqa: E501 In order to call user-specific endpoints, you need to connect your app's users to spoonacular users.
[ "Connect", "User", "#", "noqa", ":", "E501", "In", "order", "to", "call", "user", "-", "specific", "endpoints", "you", "need", "to", "connect", "your", "app", "'", "s", "users", "to", "spoonacular", "users", "." ]
[ "# noqa: E501", "\"\"\"Connect User # noqa: E501\n\n In order to call user-specific endpoints, you need to connect your app's users to spoonacular users. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=Tru...
[ { "param": "self", "type": null }, { "param": "body", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "body", "type": null, "docstring": null, "docstring_tokens": [...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
connect_user_with_http_info
<not_specific>
def connect_user_with_http_info(self, body, **kwargs): # noqa: E501 """Connect User # noqa: E501 In order to call user-specific endpoints, you need to connect your app's users to spoonacular users. # noqa: E501 This method makes a synchronous HTTP request by default. To make an async...
Connect User # noqa: E501 In order to call user-specific endpoints, you need to connect your app's users to spoonacular users. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.connec...
Connect User # noqa: E501 In order to call user-specific endpoints, you need to connect your app's users to spoonacular users. # noqa: E501 This method makes a synchronous HTTP request by default.
[ "Connect", "User", "#", "noqa", ":", "E501", "In", "order", "to", "call", "user", "-", "specific", "endpoints", "you", "need", "to", "connect", "your", "app", "'", "s", "users", "to", "spoonacular", "users", ".", "#", "noqa", ":", "E501", "This", "meth...
def connect_user_with_http_info(self, body, **kwargs): """Connect User In order to call user-specific endpoints, you need to connect your app's users to spoonacular users. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass asy...
[ "def", "connect_user_with_http_info", "(", "self", ",", "body", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'body'", "]", "all_params", ".", "append", "(", "'async_req'", ")", "all_params", ".", "appen...
Connect User # noqa: E501 In order to call user-specific endpoints, you need to connect your app's users to spoonacular users.
[ "Connect", "User", "#", "noqa", ":", "E501", "In", "order", "to", "call", "user", "-", "specific", "endpoints", "you", "need", "to", "connect", "your", "app", "'", "s", "users", "to", "spoonacular", "users", "." ]
[ "# noqa: E501", "\"\"\"Connect User # noqa: E501\n\n In order to call user-specific endpoints, you need to connect your app's users to spoonacular users. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=Tru...
[ { "param": "self", "type": null }, { "param": "body", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "body", "type": null, "docstring": null, "docstring_tokens": [...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
detect_food_in_text
<not_specific>
def detect_food_in_text(self, text, **kwargs): # noqa: E501 """Detect Food in Text # noqa: E501 Take any text and find all mentions of food contained within it. This task is also called Named Entity Recognition (NER). In this case, the entities are foods. Either dishes, such as pizza or cheeseburger,...
Detect Food in Text # noqa: E501 Take any text and find all mentions of food contained within it. This task is also called Named Entity Recognition (NER). In this case, the entities are foods. Either dishes, such as pizza or cheeseburger, or ingredients, such as cucumber or almonds. # noqa: E501 This...
Detect Food in Text # noqa: E501 Take any text and find all mentions of food contained within it. This task is also called Named Entity Recognition (NER). In this case, the entities are foods. Either dishes, such as pizza or cheeseburger, or ingredients, such as cucumber or almonds. # noqa: E501 This method makes a s...
[ "Detect", "Food", "in", "Text", "#", "noqa", ":", "E501", "Take", "any", "text", "and", "find", "all", "mentions", "of", "food", "contained", "within", "it", ".", "This", "task", "is", "also", "called", "Named", "Entity", "Recognition", "(", "NER", ")", ...
def detect_food_in_text(self, text, **kwargs): """Detect Food in Text Take any text and find all mentions of food contained within it. This task is also called Named Entity Recognition (NER). In this case, the entities are foods. Either dishes, such as pizza or cheeseburger, or ingredients, such as ...
[ "def", "detect_food_in_text", "(", "self", ",", "text", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "detect_food_in_text_with_http_...
Detect Food in Text # noqa: E501 Take any text and find all mentions of food contained within it.
[ "Detect", "Food", "in", "Text", "#", "noqa", ":", "E501", "Take", "any", "text", "and", "find", "all", "mentions", "of", "food", "contained", "within", "it", "." ]
[ "# noqa: E501", "\"\"\"Detect Food in Text # noqa: E501\n\n Take any text and find all mentions of food contained within it. This task is also called Named Entity Recognition (NER). In this case, the entities are foods. Either dishes, such as pizza or cheeseburger, or ingredients, such as cucumber or almo...
[ { "param": "self", "type": null }, { "param": "text", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "text", "type": null, "docstring": null, "docstring_tokens": [...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
detect_food_in_text_with_http_info
<not_specific>
def detect_food_in_text_with_http_info(self, text, **kwargs): # noqa: E501 """Detect Food in Text # noqa: E501 Take any text and find all mentions of food contained within it. This task is also called Named Entity Recognition (NER). In this case, the entities are foods. Either dishes, such as pizza o...
Detect Food in Text # noqa: E501 Take any text and find all mentions of food contained within it. This task is also called Named Entity Recognition (NER). In this case, the entities are foods. Either dishes, such as pizza or cheeseburger, or ingredients, such as cucumber or almonds. # noqa: E501 This...
Detect Food in Text # noqa: E501 Take any text and find all mentions of food contained within it. This task is also called Named Entity Recognition (NER). In this case, the entities are foods. Either dishes, such as pizza or cheeseburger, or ingredients, such as cucumber or almonds. # noqa: E501 This method makes a s...
[ "Detect", "Food", "in", "Text", "#", "noqa", ":", "E501", "Take", "any", "text", "and", "find", "all", "mentions", "of", "food", "contained", "within", "it", ".", "This", "task", "is", "also", "called", "Named", "Entity", "Recognition", "(", "NER", ")", ...
def detect_food_in_text_with_http_info(self, text, **kwargs): """Detect Food in Text Take any text and find all mentions of food contained within it. This task is also called Named Entity Recognition (NER). In this case, the entities are foods. Either dishes, such as pizza or cheeseburger, or ingred...
[ "def", "detect_food_in_text_with_http_info", "(", "self", ",", "text", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'text'", "]", "all_params", ".", "append", "(", "'async_req'", ")", "all_params", ".", ...
Detect Food in Text # noqa: E501 Take any text and find all mentions of food contained within it.
[ "Detect", "Food", "in", "Text", "#", "noqa", ":", "E501", "Take", "any", "text", "and", "find", "all", "mentions", "of", "food", "contained", "within", "it", "." ]
[ "# noqa: E501", "\"\"\"Detect Food in Text # noqa: E501\n\n Take any text and find all mentions of food contained within it. This task is also called Named Entity Recognition (NER). In this case, the entities are foods. Either dishes, such as pizza or cheeseburger, or ingredients, such as cucumber or almo...
[ { "param": "self", "type": null }, { "param": "text", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "text", "type": null, "docstring": null, "docstring_tokens": [...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
extract_recipe_from_website
<not_specific>
def extract_recipe_from_website(self, url, **kwargs): # noqa: E501 """Extract Recipe from Website # noqa: E501 This endpoint lets you extract recipe data such as title, ingredients, and instructions from any properly formatted Website. # noqa: E501 This method makes a synchronous HTTP reques...
Extract Recipe from Website # noqa: E501 This endpoint lets you extract recipe data such as title, ingredients, and instructions from any properly formatted Website. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_r...
Extract Recipe from Website # noqa: E501 This endpoint lets you extract recipe data such as title, ingredients, and instructions from any properly formatted Website. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str url: The URL of the recipe page. (required) :par...
[ "Extract", "Recipe", "from", "Website", "#", "noqa", ":", "E501", "This", "endpoint", "lets", "you", "extract", "recipe", "data", "such", "as", "title", "ingredients", "and", "instructions", "from", "any", "properly", "formatted", "Website", ".", "#", "noqa", ...
def extract_recipe_from_website(self, url, **kwargs): """Extract Recipe from Website This endpoint lets you extract recipe data such as title, ingredients, and instructions from any properly formatted Website. This method makes a synchronous HTTP request by default. To make an asyn...
[ "def", "extract_recipe_from_website", "(", "self", ",", "url", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "extract_recipe_from_web...
Extract Recipe from Website # noqa: E501 This endpoint lets you extract recipe data such as title, ingredients, and instructions from any properly formatted Website.
[ "Extract", "Recipe", "from", "Website", "#", "noqa", ":", "E501", "This", "endpoint", "lets", "you", "extract", "recipe", "data", "such", "as", "title", "ingredients", "and", "instructions", "from", "any", "properly", "formatted", "Website", "." ]
[ "# noqa: E501", "\"\"\"Extract Recipe from Website # noqa: E501\n\n This endpoint lets you extract recipe data such as title, ingredients, and instructions from any properly formatted Website. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous ...
[ { "param": "self", "type": null }, { "param": "url", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "url", "type": null, "docstring": null, "docstring_tokens": []...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
extract_recipe_from_website_with_http_info
<not_specific>
def extract_recipe_from_website_with_http_info(self, url, **kwargs): # noqa: E501 """Extract Recipe from Website # noqa: E501 This endpoint lets you extract recipe data such as title, ingredients, and instructions from any properly formatted Website. # noqa: E501 This method makes a synchron...
Extract Recipe from Website # noqa: E501 This endpoint lets you extract recipe data such as title, ingredients, and instructions from any properly formatted Website. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_r...
Extract Recipe from Website # noqa: E501 This endpoint lets you extract recipe data such as title, ingredients, and instructions from any properly formatted Website. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str url: The URL of the recipe page. (required) :par...
[ "Extract", "Recipe", "from", "Website", "#", "noqa", ":", "E501", "This", "endpoint", "lets", "you", "extract", "recipe", "data", "such", "as", "title", "ingredients", "and", "instructions", "from", "any", "properly", "formatted", "Website", ".", "#", "noqa", ...
def extract_recipe_from_website_with_http_info(self, url, **kwargs): """Extract Recipe from Website This endpoint lets you extract recipe data such as title, ingredients, and instructions from any properly formatted Website. This method makes a synchronous HTTP request by default. To make ...
[ "def", "extract_recipe_from_website_with_http_info", "(", "self", ",", "url", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'url'", ",", "'force_extraction'", ",", "'analyze'", "]", "all_params", ".", "appen...
Extract Recipe from Website # noqa: E501 This endpoint lets you extract recipe data such as title, ingredients, and instructions from any properly formatted Website.
[ "Extract", "Recipe", "from", "Website", "#", "noqa", ":", "E501", "This", "endpoint", "lets", "you", "extract", "recipe", "data", "such", "as", "title", "ingredients", "and", "instructions", "from", "any", "properly", "formatted", "Website", "." ]
[ "# noqa: E501", "\"\"\"Extract Recipe from Website # noqa: E501\n\n This endpoint lets you extract recipe data such as title, ingredients, and instructions from any properly formatted Website. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous ...
[ { "param": "self", "type": null }, { "param": "url", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "url", "type": null, "docstring": null, "docstring_tokens": []...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
generate_meal_plan
<not_specific>
def generate_meal_plan(self, **kwargs): # noqa: E501 """Generate Meal Plan # noqa: E501 Generate a meal plan with three meals per day (breakfast, lunch, and dinner). # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pas...
Generate Meal Plan # noqa: E501 Generate a meal plan with three meals per day (breakfast, lunch, and dinner). # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.generate_meal_plan(asyn...
Generate Meal Plan # noqa: E501 Generate a meal plan with three meals per day (breakfast, lunch, and dinner). # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str time_frame: Either for one \"day\" or an entire \"week\". :param float target_calories: What is the calo...
[ "Generate", "Meal", "Plan", "#", "noqa", ":", "E501", "Generate", "a", "meal", "plan", "with", "three", "meals", "per", "day", "(", "breakfast", "lunch", "and", "dinner", ")", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", ...
def generate_meal_plan(self, **kwargs): """Generate Meal Plan Generate a meal plan with three meals per day (breakfast, lunch, and dinner). This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread =...
[ "def", "generate_meal_plan", "(", "self", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "generate_meal_plan_with_http_info", "(", "**...
Generate Meal Plan # noqa: E501 Generate a meal plan with three meals per day (breakfast, lunch, and dinner).
[ "Generate", "Meal", "Plan", "#", "noqa", ":", "E501", "Generate", "a", "meal", "plan", "with", "three", "meals", "per", "day", "(", "breakfast", "lunch", "and", "dinner", ")", "." ]
[ "# noqa: E501", "\"\"\"Generate Meal Plan # noqa: E501\n\n Generate a meal plan with three meals per day (breakfast, lunch, and dinner). # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> th...
[ { "param": "self", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null } ], "outlier_params": [], "others": [] }
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
generate_meal_plan_with_http_info
<not_specific>
def generate_meal_plan_with_http_info(self, **kwargs): # noqa: E501 """Generate Meal Plan # noqa: E501 Generate a meal plan with three meals per day (breakfast, lunch, and dinner). # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP requ...
Generate Meal Plan # noqa: E501 Generate a meal plan with three meals per day (breakfast, lunch, and dinner). # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.generate_meal_plan_with...
Generate Meal Plan # noqa: E501 Generate a meal plan with three meals per day (breakfast, lunch, and dinner). # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str time_frame: Either for one \"day\" or an entire \"week\". :param float target_calories: What is the calo...
[ "Generate", "Meal", "Plan", "#", "noqa", ":", "E501", "Generate", "a", "meal", "plan", "with", "three", "meals", "per", "day", "(", "breakfast", "lunch", "and", "dinner", ")", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", ...
def generate_meal_plan_with_http_info(self, **kwargs): """Generate Meal Plan Generate a meal plan with three meals per day (breakfast, lunch, and dinner). This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True ...
[ "def", "generate_meal_plan_with_http_info", "(", "self", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'time_frame'", ",", "'target_calories'", ",", "'diet'", ",", "'exclude'", "]", "all_params", ".", "appen...
Generate Meal Plan # noqa: E501 Generate a meal plan with three meals per day (breakfast, lunch, and dinner).
[ "Generate", "Meal", "Plan", "#", "noqa", ":", "E501", "Generate", "a", "meal", "plan", "with", "three", "meals", "per", "day", "(", "breakfast", "lunch", "and", "dinner", ")", "." ]
[ "# noqa: E501", "\"\"\"Generate Meal Plan # noqa: E501\n\n Generate a meal plan with three meals per day (breakfast, lunch, and dinner). # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> th...
[ { "param": "self", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null } ], "outlier_params": [], "others": [] }
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
guess_nutrition_by_dish_name
<not_specific>
def guess_nutrition_by_dish_name(self, title, **kwargs): # noqa: E501 """Guess Nutrition by Dish Name # noqa: E501 Estimate the macronutrients of a dish based on its title. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, ple...
Guess Nutrition by Dish Name # noqa: E501 Estimate the macronutrients of a dish based on its title. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.guess_nutrition_by_dish_name(titl...
Guess Nutrition by Dish Name # noqa: E501 Estimate the macronutrients of a dish based on its title. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str title: The title of the dish. (required) :return: object If the method is called asynchronously, returns the reque...
[ "Guess", "Nutrition", "by", "Dish", "Name", "#", "noqa", ":", "E501", "Estimate", "the", "macronutrients", "of", "a", "dish", "based", "on", "its", "title", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "request", ...
def guess_nutrition_by_dish_name(self, title, **kwargs): """Guess Nutrition by Dish Name Estimate the macronutrients of a dish based on its title. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> t...
[ "def", "guess_nutrition_by_dish_name", "(", "self", ",", "title", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "guess_nutrition_by_d...
Guess Nutrition by Dish Name # noqa: E501 Estimate the macronutrients of a dish based on its title.
[ "Guess", "Nutrition", "by", "Dish", "Name", "#", "noqa", ":", "E501", "Estimate", "the", "macronutrients", "of", "a", "dish", "based", "on", "its", "title", "." ]
[ "# noqa: E501", "\"\"\"Guess Nutrition by Dish Name # noqa: E501\n\n Estimate the macronutrients of a dish based on its title. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api...
[ { "param": "self", "type": null }, { "param": "title", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "title", "type": null, "docstring": null, "docstring_tokens": ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
guess_nutrition_by_dish_name_with_http_info
<not_specific>
def guess_nutrition_by_dish_name_with_http_info(self, title, **kwargs): # noqa: E501 """Guess Nutrition by Dish Name # noqa: E501 Estimate the macronutrients of a dish based on its title. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HT...
Guess Nutrition by Dish Name # noqa: E501 Estimate the macronutrients of a dish based on its title. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.guess_nutrition_by_dish_name_with...
Guess Nutrition by Dish Name # noqa: E501 Estimate the macronutrients of a dish based on its title. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str title: The title of the dish. (required) :return: object If the method is called asynchronously, returns the reque...
[ "Guess", "Nutrition", "by", "Dish", "Name", "#", "noqa", ":", "E501", "Estimate", "the", "macronutrients", "of", "a", "dish", "based", "on", "its", "title", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "request", ...
def guess_nutrition_by_dish_name_with_http_info(self, title, **kwargs): """Guess Nutrition by Dish Name Estimate the macronutrients of a dish based on its title. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=Tru...
[ "def", "guess_nutrition_by_dish_name_with_http_info", "(", "self", ",", "title", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'title'", "]", "all_params", ".", "append", "(", "'async_req'", ")", "all_params...
Guess Nutrition by Dish Name # noqa: E501 Estimate the macronutrients of a dish based on its title.
[ "Guess", "Nutrition", "by", "Dish", "Name", "#", "noqa", ":", "E501", "Estimate", "the", "macronutrients", "of", "a", "dish", "based", "on", "its", "title", "." ]
[ "# noqa: E501", "\"\"\"Guess Nutrition by Dish Name # noqa: E501\n\n Estimate the macronutrients of a dish based on its title. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api...
[ { "param": "self", "type": null }, { "param": "title", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "title", "type": null, "docstring": null, "docstring_tokens": ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
image_analysis_by_url
<not_specific>
def image_analysis_by_url(self, image_url, **kwargs): # noqa: E501 """Image Analysis by URL # noqa: E501 Analyze a food image. The API tries to classify the image, guess the nutrition, and find a matching recipes. You can play around with that endpoint! # noqa: E501 This method makes a synch...
Image Analysis by URL # noqa: E501 Analyze a food image. The API tries to classify the image, guess the nutrition, and find a matching recipes. You can play around with that endpoint! # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, p...
Image Analysis by URL # noqa: E501 Analyze a food image. The API tries to classify the image, guess the nutrition, and find a matching recipes. You can play around with that endpoint. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str image_url: The URL of the imag...
[ "Image", "Analysis", "by", "URL", "#", "noqa", ":", "E501", "Analyze", "a", "food", "image", ".", "The", "API", "tries", "to", "classify", "the", "image", "guess", "the", "nutrition", "and", "find", "a", "matching", "recipes", ".", "You", "can", "play", ...
def image_analysis_by_url(self, image_url, **kwargs): """Image Analysis by URL Analyze a food image. The API tries to classify the image, guess the nutrition, and find a matching recipes. You can play around with that endpoint! This method makes a synchronous HTTP request by default. To ma...
[ "def", "image_analysis_by_url", "(", "self", ",", "image_url", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "image_analysis_by_url_w...
Image Analysis by URL # noqa: E501 Analyze a food image.
[ "Image", "Analysis", "by", "URL", "#", "noqa", ":", "E501", "Analyze", "a", "food", "image", "." ]
[ "# noqa: E501", "\"\"\"Image Analysis by URL # noqa: E501\n\n Analyze a food image. The API tries to classify the image, guess the nutrition, and find a matching recipes. You can play around with that endpoint! # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n ...
[ { "param": "self", "type": null }, { "param": "image_url", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "image_url", "type": null, "docstring": null, "docstring_token...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
image_analysis_by_url_with_http_info
<not_specific>
def image_analysis_by_url_with_http_info(self, image_url, **kwargs): # noqa: E501 """Image Analysis by URL # noqa: E501 Analyze a food image. The API tries to classify the image, guess the nutrition, and find a matching recipes. You can play around with that endpoint! # noqa: E501 This metho...
Image Analysis by URL # noqa: E501 Analyze a food image. The API tries to classify the image, guess the nutrition, and find a matching recipes. You can play around with that endpoint! # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, p...
Image Analysis by URL # noqa: E501 Analyze a food image. The API tries to classify the image, guess the nutrition, and find a matching recipes. You can play around with that endpoint. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str image_url: The URL of the imag...
[ "Image", "Analysis", "by", "URL", "#", "noqa", ":", "E501", "Analyze", "a", "food", "image", ".", "The", "API", "tries", "to", "classify", "the", "image", "guess", "the", "nutrition", "and", "find", "a", "matching", "recipes", ".", "You", "can", "play", ...
def image_analysis_by_url_with_http_info(self, image_url, **kwargs): """Image Analysis by URL Analyze a food image. The API tries to classify the image, guess the nutrition, and find a matching recipes. You can play around with that endpoint! This method makes a synchronous HTTP request by...
[ "def", "image_analysis_by_url_with_http_info", "(", "self", ",", "image_url", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'image_url'", "]", "all_params", ".", "append", "(", "'async_req'", ")", "all_param...
Image Analysis by URL # noqa: E501 Analyze a food image.
[ "Image", "Analysis", "by", "URL", "#", "noqa", ":", "E501", "Analyze", "a", "food", "image", "." ]
[ "# noqa: E501", "\"\"\"Image Analysis by URL # noqa: E501\n\n Analyze a food image. The API tries to classify the image, guess the nutrition, and find a matching recipes. You can play around with that endpoint! # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n ...
[ { "param": "self", "type": null }, { "param": "image_url", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "image_url", "type": null, "docstring": null, "docstring_token...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
image_classification_by_url
<not_specific>
def image_classification_by_url(self, image_url, **kwargs): # noqa: E501 """Image Classification by URL # noqa: E501 Classify a food image. You can play around with that endpoint! # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP reque...
Image Classification by URL # noqa: E501 Classify a food image. You can play around with that endpoint! # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.image_classification_by_url(i...
Image Classification by URL # noqa: E501 Classify a food image. You can play around with that endpoint. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str image_url: The URL of the image to be classified. (required) :return: object If the method is called asynchron...
[ "Image", "Classification", "by", "URL", "#", "noqa", ":", "E501", "Classify", "a", "food", "image", ".", "You", "can", "play", "around", "with", "that", "endpoint", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "re...
def image_classification_by_url(self, image_url, **kwargs): """Image Classification by URL Classify a food image. You can play around with that endpoint! This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True ...
[ "def", "image_classification_by_url", "(", "self", ",", "image_url", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "image_classificat...
Image Classification by URL # noqa: E501 Classify a food image.
[ "Image", "Classification", "by", "URL", "#", "noqa", ":", "E501", "Classify", "a", "food", "image", "." ]
[ "# noqa: E501", "\"\"\"Image Classification by URL # noqa: E501\n\n Classify a food image. You can play around with that endpoint! # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread =...
[ { "param": "self", "type": null }, { "param": "image_url", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "image_url", "type": null, "docstring": null, "docstring_token...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
image_classification_by_url_with_http_info
<not_specific>
def image_classification_by_url_with_http_info(self, image_url, **kwargs): # noqa: E501 """Image Classification by URL # noqa: E501 Classify a food image. You can play around with that endpoint! # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchro...
Image Classification by URL # noqa: E501 Classify a food image. You can play around with that endpoint! # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.image_classification_by_url_w...
Image Classification by URL # noqa: E501 Classify a food image. You can play around with that endpoint. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str image_url: The URL of the image to be classified. (required) :return: object If the method is called asynchron...
[ "Image", "Classification", "by", "URL", "#", "noqa", ":", "E501", "Classify", "a", "food", "image", ".", "You", "can", "play", "around", "with", "that", "endpoint", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "re...
def image_classification_by_url_with_http_info(self, image_url, **kwargs): """Image Classification by URL Classify a food image. You can play around with that endpoint! This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_...
[ "def", "image_classification_by_url_with_http_info", "(", "self", ",", "image_url", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'image_url'", "]", "all_params", ".", "append", "(", "'async_req'", ")", "all...
Image Classification by URL # noqa: E501 Classify a food image.
[ "Image", "Classification", "by", "URL", "#", "noqa", ":", "E501", "Classify", "a", "food", "image", "." ]
[ "# noqa: E501", "\"\"\"Image Classification by URL # noqa: E501\n\n Classify a food image. You can play around with that endpoint! # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread =...
[ { "param": "self", "type": null }, { "param": "image_url", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "image_url", "type": null, "docstring": null, "docstring_token...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
ingredient_search
<not_specific>
def ingredient_search(self, query, **kwargs): # noqa: E501 """Ingredient Search # noqa: E501 Search for simple whole foods (e.g. fruits, vegetables, nuts, grains, meat, fish, dairy etc.). # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HT...
Ingredient Search # noqa: E501 Search for simple whole foods (e.g. fruits, vegetables, nuts, grains, meat, fish, dairy etc.). # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.ingredi...
Ingredient Search # noqa: E501 Search for simple whole foods . # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str query: The partial or full ingredient name. (required) :param bool add_children: Whether to add children of found foods. :param float min_protein_perce...
[ "Ingredient", "Search", "#", "noqa", ":", "E501", "Search", "for", "simple", "whole", "foods", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "request", "by", "default", ".", ":", "param", "async_req", "bool", ":", ...
def ingredient_search(self, query, **kwargs): """Ingredient Search Search for simple whole foods (e.g. fruits, vegetables, nuts, grains, meat, fish, dairy etc.). This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=Tru...
[ "def", "ingredient_search", "(", "self", ",", "query", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "ingredient_search_with_http_inf...
Ingredient Search # noqa: E501 Search for simple whole foods (e.g.
[ "Ingredient", "Search", "#", "noqa", ":", "E501", "Search", "for", "simple", "whole", "foods", "(", "e", ".", "g", "." ]
[ "# noqa: E501", "\"\"\"Ingredient Search # noqa: E501\n\n Search for simple whole foods (e.g. fruits, vegetables, nuts, grains, meat, fish, dairy etc.). # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True...
[ { "param": "self", "type": null }, { "param": "query", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "query", "type": null, "docstring": null, "docstring_tokens": ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
ingredient_search_with_http_info
<not_specific>
def ingredient_search_with_http_info(self, query, **kwargs): # noqa: E501 """Ingredient Search # noqa: E501 Search for simple whole foods (e.g. fruits, vegetables, nuts, grains, meat, fish, dairy etc.). # noqa: E501 This method makes a synchronous HTTP request by default. To make an ...
Ingredient Search # noqa: E501 Search for simple whole foods (e.g. fruits, vegetables, nuts, grains, meat, fish, dairy etc.). # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.ingredi...
Ingredient Search # noqa: E501 Search for simple whole foods . # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str query: The partial or full ingredient name. (required) :param bool add_children: Whether to add children of found foods. :param float min_protein_perce...
[ "Ingredient", "Search", "#", "noqa", ":", "E501", "Search", "for", "simple", "whole", "foods", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "request", "by", "default", ".", ":", "param", "async_req", "bool", ":", ...
def ingredient_search_with_http_info(self, query, **kwargs): """Ingredient Search Search for simple whole foods (e.g. fruits, vegetables, nuts, grains, meat, fish, dairy etc.). This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pas...
[ "def", "ingredient_search_with_http_info", "(", "self", ",", "query", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'query'", ",", "'add_children'", ",", "'min_protein_percent'", ",", "'max_protein_percent'", ...
Ingredient Search # noqa: E501 Search for simple whole foods (e.g.
[ "Ingredient", "Search", "#", "noqa", ":", "E501", "Search", "for", "simple", "whole", "foods", "(", "e", ".", "g", "." ]
[ "# noqa: E501", "\"\"\"Ingredient Search # noqa: E501\n\n Search for simple whole foods (e.g. fruits, vegetables, nuts, grains, meat, fish, dairy etc.). # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True...
[ { "param": "self", "type": null }, { "param": "query", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "query", "type": null, "docstring": null, "docstring_tokens": ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
map_ingredients_to_grocery_products
<not_specific>
def map_ingredients_to_grocery_products(self, body, **kwargs): # noqa: E501 """Map Ingredients to Grocery Products # noqa: E501 Map a set of ingredients to products you can buy in the grocery store. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asyn...
Map Ingredients to Grocery Products # noqa: E501 Map a set of ingredients to products you can buy in the grocery store. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.map_ingredien...
Map Ingredients to Grocery Products # noqa: E501 Map a set of ingredients to products you can buy in the grocery store. # noqa: E501 This method makes a synchronous HTTP request by default.
[ "Map", "Ingredients", "to", "Grocery", "Products", "#", "noqa", ":", "E501", "Map", "a", "set", "of", "ingredients", "to", "products", "you", "can", "buy", "in", "the", "grocery", "store", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", ...
def map_ingredients_to_grocery_products(self, body, **kwargs): """Map Ingredients to Grocery Products Map a set of ingredients to products you can buy in the grocery store. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass as...
[ "def", "map_ingredients_to_grocery_products", "(", "self", ",", "body", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "map_ingredient...
Map Ingredients to Grocery Products # noqa: E501 Map a set of ingredients to products you can buy in the grocery store.
[ "Map", "Ingredients", "to", "Grocery", "Products", "#", "noqa", ":", "E501", "Map", "a", "set", "of", "ingredients", "to", "products", "you", "can", "buy", "in", "the", "grocery", "store", "." ]
[ "# noqa: E501", "\"\"\"Map Ingredients to Grocery Products # noqa: E501\n\n Map a set of ingredients to products you can buy in the grocery store. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n ...
[ { "param": "self", "type": null }, { "param": "body", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "body", "type": null, "docstring": null, "docstring_tokens": [...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
map_ingredients_to_grocery_products_with_http_info
<not_specific>
def map_ingredients_to_grocery_products_with_http_info(self, body, **kwargs): # noqa: E501 """Map Ingredients to Grocery Products # noqa: E501 Map a set of ingredients to products you can buy in the grocery store. # noqa: E501 This method makes a synchronous HTTP request by default. To make ...
Map Ingredients to Grocery Products # noqa: E501 Map a set of ingredients to products you can buy in the grocery store. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.map_ingredien...
Map Ingredients to Grocery Products # noqa: E501 Map a set of ingredients to products you can buy in the grocery store. # noqa: E501 This method makes a synchronous HTTP request by default.
[ "Map", "Ingredients", "to", "Grocery", "Products", "#", "noqa", ":", "E501", "Map", "a", "set", "of", "ingredients", "to", "products", "you", "can", "buy", "in", "the", "grocery", "store", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", ...
def map_ingredients_to_grocery_products_with_http_info(self, body, **kwargs): """Map Ingredients to Grocery Products Map a set of ingredients to products you can buy in the grocery store. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request,...
[ "def", "map_ingredients_to_grocery_products_with_http_info", "(", "self", ",", "body", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'body'", "]", "all_params", ".", "append", "(", "'async_req'", ")", "all_p...
Map Ingredients to Grocery Products # noqa: E501 Map a set of ingredients to products you can buy in the grocery store.
[ "Map", "Ingredients", "to", "Grocery", "Products", "#", "noqa", ":", "E501", "Map", "a", "set", "of", "ingredients", "to", "products", "you", "can", "buy", "in", "the", "grocery", "store", "." ]
[ "# noqa: E501", "\"\"\"Map Ingredients to Grocery Products # noqa: E501\n\n Map a set of ingredients to products you can buy in the grocery store. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n ...
[ { "param": "self", "type": null }, { "param": "body", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "body", "type": null, "docstring": null, "docstring_tokens": [...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
parse_ingredients
<not_specific>
def parse_ingredients(self, ingredient_list, servings, **kwargs): # noqa: E501 """Parse Ingredients # noqa: E501 Extract an ingredient from plain text. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=Tr...
Parse Ingredients # noqa: E501 Extract an ingredient from plain text. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.parse_ingredients(ingredient_list, servings, async_req=True) ...
Parse Ingredients # noqa: E501 Extract an ingredient from plain text. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str ingredient_list: The ingredient list of the recipe, one ingredient per line. (required) :param float servings: The number of servings that you c...
[ "Parse", "Ingredients", "#", "noqa", ":", "E501", "Extract", "an", "ingredient", "from", "plain", "text", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "request", "by", "default", ".", ":", "param", "async_req", "boo...
def parse_ingredients(self, ingredient_list, servings, **kwargs): """Parse Ingredients Extract an ingredient from plain text. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.parse_ing...
[ "def", "parse_ingredients", "(", "self", ",", "ingredient_list", ",", "servings", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "...
Parse Ingredients # noqa: E501 Extract an ingredient from plain text.
[ "Parse", "Ingredients", "#", "noqa", ":", "E501", "Extract", "an", "ingredient", "from", "plain", "text", "." ]
[ "# noqa: E501", "\"\"\"Parse Ingredients # noqa: E501\n\n Extract an ingredient from plain text. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.parse_ingredients(ingredient_...
[ { "param": "self", "type": null }, { "param": "ingredient_list", "type": null }, { "param": "servings", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "ingredient_list", "type": null, "docstring": null, "docstring...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
parse_ingredients_with_http_info
<not_specific>
def parse_ingredients_with_http_info(self, ingredient_list, servings, **kwargs): # noqa: E501 """Parse Ingredients # noqa: E501 Extract an ingredient from plain text. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pa...
Parse Ingredients # noqa: E501 Extract an ingredient from plain text. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.parse_ingredients_with_http_info(ingredient_list, servings, asy...
Parse Ingredients # noqa: E501 Extract an ingredient from plain text. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str ingredient_list: The ingredient list of the recipe, one ingredient per line. (required) :param float servings: The number of servings that you c...
[ "Parse", "Ingredients", "#", "noqa", ":", "E501", "Extract", "an", "ingredient", "from", "plain", "text", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "request", "by", "default", ".", ":", "param", "async_req", "boo...
def parse_ingredients_with_http_info(self, ingredient_list, servings, **kwargs): """Parse Ingredients Extract an ingredient from plain text. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread ...
[ "def", "parse_ingredients_with_http_info", "(", "self", ",", "ingredient_list", ",", "servings", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'ingredient_list'", ",", "'servings'", ",", "'include_nutrition'", ...
Parse Ingredients # noqa: E501 Extract an ingredient from plain text.
[ "Parse", "Ingredients", "#", "noqa", ":", "E501", "Extract", "an", "ingredient", "from", "plain", "text", "." ]
[ "# noqa: E501", "\"\"\"Parse Ingredients # noqa: E501\n\n Extract an ingredient from plain text. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.parse_ingredients_with_http_i...
[ { "param": "self", "type": null }, { "param": "ingredient_list", "type": null }, { "param": "servings", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "ingredient_list", "type": null, "docstring": null, "docstring...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
quick_answer
<not_specific>
def quick_answer(self, q, **kwargs): # noqa: E501 """Quick Answer # noqa: E501 Answer a nutrition related natural language question. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thre...
Quick Answer # noqa: E501 Answer a nutrition related natural language question. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.quick_answer(q, async_req=True) >>> result = ...
Quick Answer # noqa: E501 Answer a nutrition related natural language question. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str q: The nutrition related question. (required) :return: object If the method is called asynchronously, returns the request thread.
[ "Quick", "Answer", "#", "noqa", ":", "E501", "Answer", "a", "nutrition", "related", "natural", "language", "question", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "request", "by", "default", ".", ":", "param", "asy...
def quick_answer(self, q, **kwargs): """Quick Answer Answer a nutrition related natural language question. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.quick_answer(q, async_req=Tr...
[ "def", "quick_answer", "(", "self", ",", "q", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "quick_answer_with_http_info", "(", "...
Quick Answer # noqa: E501 Answer a nutrition related natural language question.
[ "Quick", "Answer", "#", "noqa", ":", "E501", "Answer", "a", "nutrition", "related", "natural", "language", "question", "." ]
[ "# noqa: E501", "\"\"\"Quick Answer # noqa: E501\n\n Answer a nutrition related natural language question. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.quick_answer(q, asy...
[ { "param": "self", "type": null }, { "param": "q", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "q", "type": null, "docstring": null, "docstring_tokens": [], ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
quick_answer_with_http_info
<not_specific>
def quick_answer_with_http_info(self, q, **kwargs): # noqa: E501 """Quick Answer # noqa: E501 Answer a nutrition related natural language question. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True ...
Quick Answer # noqa: E501 Answer a nutrition related natural language question. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.quick_answer_with_http_info(q, async_req=True) ...
Quick Answer # noqa: E501 Answer a nutrition related natural language question. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str q: The nutrition related question. (required) :return: object If the method is called asynchronously, returns the request thread.
[ "Quick", "Answer", "#", "noqa", ":", "E501", "Answer", "a", "nutrition", "related", "natural", "language", "question", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "request", "by", "default", ".", ":", "param", "asy...
def quick_answer_with_http_info(self, q, **kwargs): """Quick Answer Answer a nutrition related natural language question. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.quick_answer_...
[ "def", "quick_answer_with_http_info", "(", "self", ",", "q", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'q'", "]", "all_params", ".", "append", "(", "'async_req'", ")", "all_params", ".", "append", ...
Quick Answer # noqa: E501 Answer a nutrition related natural language question.
[ "Quick", "Answer", "#", "noqa", ":", "E501", "Answer", "a", "nutrition", "related", "natural", "language", "question", "." ]
[ "# noqa: E501", "\"\"\"Quick Answer # noqa: E501\n\n Answer a nutrition related natural language question. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.quick_answer_with_h...
[ { "param": "self", "type": null }, { "param": "q", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "q", "type": null, "docstring": null, "docstring_tokens": [], ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
search_all_food
<not_specific>
def search_all_food(self, query, **kwargs): # noqa: E501 """Search All Food # noqa: E501 Search all food content with one call. That includes recipes, grocery products, menu items, simple foods (ingredients), and food videos. # noqa: E501 This method makes a synchronous HTTP request by defau...
Search All Food # noqa: E501 Search all food content with one call. That includes recipes, grocery products, menu items, simple foods (ingredients), and food videos. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_r...
Search All Food # noqa: E501 Search all food content with one call. That includes recipes, grocery products, menu items, simple foods (ingredients), and food videos. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str query: The search query. (required) :param float...
[ "Search", "All", "Food", "#", "noqa", ":", "E501", "Search", "all", "food", "content", "with", "one", "call", ".", "That", "includes", "recipes", "grocery", "products", "menu", "items", "simple", "foods", "(", "ingredients", ")", "and", "food", "videos", "...
def search_all_food(self, query, **kwargs): """Search All Food Search all food content with one call. That includes recipes, grocery products, menu items, simple foods (ingredients), and food videos. This method makes a synchronous HTTP request by default. To make an asynchronous H...
[ "def", "search_all_food", "(", "self", ",", "query", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "search_all_food_with_http_info", ...
Search All Food # noqa: E501 Search all food content with one call.
[ "Search", "All", "Food", "#", "noqa", ":", "E501", "Search", "all", "food", "content", "with", "one", "call", "." ]
[ "# noqa: E501", "\"\"\"Search All Food # noqa: E501\n\n Search all food content with one call. That includes recipes, grocery products, menu items, simple foods (ingredients), and food videos. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous ...
[ { "param": "self", "type": null }, { "param": "query", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "query", "type": null, "docstring": null, "docstring_tokens": ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
search_all_food_with_http_info
<not_specific>
def search_all_food_with_http_info(self, query, **kwargs): # noqa: E501 """Search All Food # noqa: E501 Search all food content with one call. That includes recipes, grocery products, menu items, simple foods (ingredients), and food videos. # noqa: E501 This method makes a synchronous HTTP r...
Search All Food # noqa: E501 Search all food content with one call. That includes recipes, grocery products, menu items, simple foods (ingredients), and food videos. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_r...
Search All Food # noqa: E501 Search all food content with one call. That includes recipes, grocery products, menu items, simple foods (ingredients), and food videos. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str query: The search query. (required) :param float...
[ "Search", "All", "Food", "#", "noqa", ":", "E501", "Search", "all", "food", "content", "with", "one", "call", ".", "That", "includes", "recipes", "grocery", "products", "menu", "items", "simple", "foods", "(", "ingredients", ")", "and", "food", "videos", "...
def search_all_food_with_http_info(self, query, **kwargs): """Search All Food Search all food content with one call. That includes recipes, grocery products, menu items, simple foods (ingredients), and food videos. This method makes a synchronous HTTP request by default. To make an ...
[ "def", "search_all_food_with_http_info", "(", "self", ",", "query", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'query'", ",", "'offset'", ",", "'number'", "]", "all_params", ".", "append", "(", "'asyn...
Search All Food # noqa: E501 Search all food content with one call.
[ "Search", "All", "Food", "#", "noqa", ":", "E501", "Search", "all", "food", "content", "with", "one", "call", "." ]
[ "# noqa: E501", "\"\"\"Search All Food # noqa: E501\n\n Search all food content with one call. That includes recipes, grocery products, menu items, simple foods (ingredients), and food videos. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous ...
[ { "param": "self", "type": null }, { "param": "query", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "query", "type": null, "docstring": null, "docstring_tokens": ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
search_food_videos
<not_specific>
def search_food_videos(self, query, **kwargs): # noqa: E501 """Search Food Videos # noqa: E501 Find recipe and other food related videos. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>>...
Search Food Videos # noqa: E501 Find recipe and other food related videos. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.search_food_videos(query, async_req=True) >>> resu...
Search Food Videos # noqa: E501 Find recipe and other food related videos. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str query: The search query. (required) :param str type: The type of the recipes. See a full list of supported meal types. :param str cuisine: ...
[ "Search", "Food", "Videos", "#", "noqa", ":", "E501", "Find", "recipe", "and", "other", "food", "related", "videos", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "request", "by", "default", ".", ":", "param", "asy...
def search_food_videos(self, query, **kwargs): """Search Food Videos Find recipe and other food related videos. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.search_food_videos(quer...
[ "def", "search_food_videos", "(", "self", ",", "query", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "search_food_videos_with_http_i...
Search Food Videos # noqa: E501 Find recipe and other food related videos.
[ "Search", "Food", "Videos", "#", "noqa", ":", "E501", "Find", "recipe", "and", "other", "food", "related", "videos", "." ]
[ "# noqa: E501", "\"\"\"Search Food Videos # noqa: E501\n\n Find recipe and other food related videos. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.search_food_videos(query...
[ { "param": "self", "type": null }, { "param": "query", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "query", "type": null, "docstring": null, "docstring_tokens": ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
search_food_videos_with_http_info
<not_specific>
def search_food_videos_with_http_info(self, query, **kwargs): # noqa: E501 """Search Food Videos # noqa: E501 Find recipe and other food related videos. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=T...
Search Food Videos # noqa: E501 Find recipe and other food related videos. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.search_food_videos_with_http_info(query, async_req=True) ...
Search Food Videos # noqa: E501 Find recipe and other food related videos. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str query: The search query. (required) :param str type: The type of the recipes. See a full list of supported meal types. :param str cuisine: ...
[ "Search", "Food", "Videos", "#", "noqa", ":", "E501", "Find", "recipe", "and", "other", "food", "related", "videos", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "request", "by", "default", ".", ":", "param", "asy...
def search_food_videos_with_http_info(self, query, **kwargs): """Search Food Videos Find recipe and other food related videos. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.search_f...
[ "def", "search_food_videos_with_http_info", "(", "self", ",", "query", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'query'", ",", "'type'", ",", "'cuisine'", ",", "'diet'", ",", "'include_ingredients'", ...
Search Food Videos # noqa: E501 Find recipe and other food related videos.
[ "Search", "Food", "Videos", "#", "noqa", ":", "E501", "Find", "recipe", "and", "other", "food", "related", "videos", "." ]
[ "# noqa: E501", "\"\"\"Search Food Videos # noqa: E501\n\n Find recipe and other food related videos. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.search_food_videos_with_...
[ { "param": "self", "type": null }, { "param": "query", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "query", "type": null, "docstring": null, "docstring_tokens": ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
search_grocery_products
<not_specific>
def search_grocery_products(self, query, **kwargs): # noqa: E501 """Search Grocery Products # noqa: E501 Search packaged food products, such as frozen pizza or Greek yogurt. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, pl...
Search Grocery Products # noqa: E501 Search packaged food products, such as frozen pizza or Greek yogurt. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.search_grocery_products(que...
Search Grocery Products # noqa: E501 Search packaged food products, such as frozen pizza or Greek yogurt. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str query: The search query. (required) :param float min_calories: The minimum amount of calories the product mu...
[ "Search", "Grocery", "Products", "#", "noqa", ":", "E501", "Search", "packaged", "food", "products", "such", "as", "frozen", "pizza", "or", "Greek", "yogurt", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "request", ...
def search_grocery_products(self, query, **kwargs): """Search Grocery Products Search packaged food products, such as frozen pizza or Greek yogurt. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> ...
[ "def", "search_grocery_products", "(", "self", ",", "query", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "search_grocery_products_w...
Search Grocery Products # noqa: E501 Search packaged food products, such as frozen pizza or Greek yogurt.
[ "Search", "Grocery", "Products", "#", "noqa", ":", "E501", "Search", "packaged", "food", "products", "such", "as", "frozen", "pizza", "or", "Greek", "yogurt", "." ]
[ "# noqa: E501", "\"\"\"Search Grocery Products # noqa: E501\n\n Search packaged food products, such as frozen pizza or Greek yogurt. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread...
[ { "param": "self", "type": null }, { "param": "query", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "query", "type": null, "docstring": null, "docstring_tokens": ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
search_grocery_products_with_http_info
<not_specific>
def search_grocery_products_with_http_info(self, query, **kwargs): # noqa: E501 """Search Grocery Products # noqa: E501 Search packaged food products, such as frozen pizza or Greek yogurt. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous H...
Search Grocery Products # noqa: E501 Search packaged food products, such as frozen pizza or Greek yogurt. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.search_grocery_products_wit...
Search Grocery Products # noqa: E501 Search packaged food products, such as frozen pizza or Greek yogurt. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str query: The search query. (required) :param float min_calories: The minimum amount of calories the product mu...
[ "Search", "Grocery", "Products", "#", "noqa", ":", "E501", "Search", "packaged", "food", "products", "such", "as", "frozen", "pizza", "or", "Greek", "yogurt", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "request", ...
def search_grocery_products_with_http_info(self, query, **kwargs): """Search Grocery Products Search packaged food products, such as frozen pizza or Greek yogurt. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=Tr...
[ "def", "search_grocery_products_with_http_info", "(", "self", ",", "query", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'query'", ",", "'min_calories'", ",", "'max_calories'", ",", "'min_carbs'", ",", "'ma...
Search Grocery Products # noqa: E501 Search packaged food products, such as frozen pizza or Greek yogurt.
[ "Search", "Grocery", "Products", "#", "noqa", ":", "E501", "Search", "packaged", "food", "products", "such", "as", "frozen", "pizza", "or", "Greek", "yogurt", "." ]
[ "# noqa: E501", "\"\"\"Search Grocery Products # noqa: E501\n\n Search packaged food products, such as frozen pizza or Greek yogurt. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread...
[ { "param": "self", "type": null }, { "param": "query", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "query", "type": null, "docstring": null, "docstring_tokens": ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
search_grocery_products_by_upc
<not_specific>
def search_grocery_products_by_upc(self, upc, **kwargs): # noqa: E501 """Search Grocery Products by UPC # noqa: E501 Get information about a packaged food using its UPC. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please...
Search Grocery Products by UPC # noqa: E501 Get information about a packaged food using its UPC. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.search_grocery_products_by_upc(upc, ...
Search Grocery Products by UPC # noqa: E501 Get information about a packaged food using its UPC. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param float upc: The product's UPC. (required) :return: object If the method is called asynchronously, returns the request thre...
[ "Search", "Grocery", "Products", "by", "UPC", "#", "noqa", ":", "E501", "Get", "information", "about", "a", "packaged", "food", "using", "its", "UPC", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "request", "by", ...
def search_grocery_products_by_upc(self, upc, **kwargs): """Search Grocery Products by UPC Get information about a packaged food using its UPC. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thre...
[ "def", "search_grocery_products_by_upc", "(", "self", ",", "upc", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "search_grocery_produ...
Search Grocery Products by UPC # noqa: E501 Get information about a packaged food using its UPC.
[ "Search", "Grocery", "Products", "by", "UPC", "#", "noqa", ":", "E501", "Get", "information", "about", "a", "packaged", "food", "using", "its", "UPC", "." ]
[ "# noqa: E501", "\"\"\"Search Grocery Products by UPC # noqa: E501\n\n Get information about a packaged food using its UPC. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.se...
[ { "param": "self", "type": null }, { "param": "upc", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "upc", "type": null, "docstring": null, "docstring_tokens": []...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
search_grocery_products_by_upc_with_http_info
<not_specific>
def search_grocery_products_by_upc_with_http_info(self, upc, **kwargs): # noqa: E501 """Search Grocery Products by UPC # noqa: E501 Get information about a packaged food using its UPC. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP ...
Search Grocery Products by UPC # noqa: E501 Get information about a packaged food using its UPC. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.search_grocery_products_by_upc_with_...
Search Grocery Products by UPC # noqa: E501 Get information about a packaged food using its UPC. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param float upc: The product's UPC. (required) :return: object If the method is called asynchronously, returns the request thre...
[ "Search", "Grocery", "Products", "by", "UPC", "#", "noqa", ":", "E501", "Get", "information", "about", "a", "packaged", "food", "using", "its", "UPC", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP", "request", "by", ...
def search_grocery_products_by_upc_with_http_info(self, upc, **kwargs): """Search Grocery Products by UPC Get information about a packaged food using its UPC. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True ...
[ "def", "search_grocery_products_by_upc_with_http_info", "(", "self", ",", "upc", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'upc'", "]", "all_params", ".", "append", "(", "'async_req'", ")", "all_params",...
Search Grocery Products by UPC # noqa: E501 Get information about a packaged food using its UPC.
[ "Search", "Grocery", "Products", "by", "UPC", "#", "noqa", ":", "E501", "Get", "information", "about", "a", "packaged", "food", "using", "its", "UPC", "." ]
[ "# noqa: E501", "\"\"\"Search Grocery Products by UPC # noqa: E501\n\n Get information about a packaged food using its UPC. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.se...
[ { "param": "self", "type": null }, { "param": "upc", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "upc", "type": null, "docstring": null, "docstring_tokens": []...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
search_menu_items
<not_specific>
def search_menu_items(self, query, **kwargs): # noqa: E501 """Search Menu Items # noqa: E501 Search over 115,000 menu items from over 800 fast food and chain restaurants. For example, McDonald's Big Mac or Starbucks Mocha. # noqa: E501 This method makes a synchronous HTTP request by default....
Search Menu Items # noqa: E501 Search over 115,000 menu items from over 800 fast food and chain restaurants. For example, McDonald's Big Mac or Starbucks Mocha. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=Tr...
Search Menu Items # noqa: E501 Search over 115,000 menu items from over 800 fast food and chain restaurants. For example, McDonald's Big Mac or Starbucks Mocha. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str query: The search query. (required) :param float min_...
[ "Search", "Menu", "Items", "#", "noqa", ":", "E501", "Search", "over", "115", "000", "menu", "items", "from", "over", "800", "fast", "food", "and", "chain", "restaurants", ".", "For", "example", "McDonald", "'", "s", "Big", "Mac", "or", "Starbucks", "Moc...
def search_menu_items(self, query, **kwargs): """Search Menu Items Search over 115,000 menu items from over 800 fast food and chain restaurants. For example, McDonald's Big Mac or Starbucks Mocha. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP...
[ "def", "search_menu_items", "(", "self", ",", "query", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "search_menu_items_with_http_inf...
Search Menu Items # noqa: E501 Search over 115,000 menu items from over 800 fast food and chain restaurants.
[ "Search", "Menu", "Items", "#", "noqa", ":", "E501", "Search", "over", "115", "000", "menu", "items", "from", "over", "800", "fast", "food", "and", "chain", "restaurants", "." ]
[ "# noqa: E501", "\"\"\"Search Menu Items # noqa: E501\n\n Search over 115,000 menu items from over 800 fast food and chain restaurants. For example, McDonald's Big Mac or Starbucks Mocha. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP ...
[ { "param": "self", "type": null }, { "param": "query", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "query", "type": null, "docstring": null, "docstring_tokens": ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
search_menu_items_with_http_info
<not_specific>
def search_menu_items_with_http_info(self, query, **kwargs): # noqa: E501 """Search Menu Items # noqa: E501 Search over 115,000 menu items from over 800 fast food and chain restaurants. For example, McDonald's Big Mac or Starbucks Mocha. # noqa: E501 This method makes a synchronous HTTP requ...
Search Menu Items # noqa: E501 Search over 115,000 menu items from over 800 fast food and chain restaurants. For example, McDonald's Big Mac or Starbucks Mocha. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=Tr...
Search Menu Items # noqa: E501 Search over 115,000 menu items from over 800 fast food and chain restaurants. For example, McDonald's Big Mac or Starbucks Mocha. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param str query: The search query. (required) :param float min_...
[ "Search", "Menu", "Items", "#", "noqa", ":", "E501", "Search", "over", "115", "000", "menu", "items", "from", "over", "800", "fast", "food", "and", "chain", "restaurants", ".", "For", "example", "McDonald", "'", "s", "Big", "Mac", "or", "Starbucks", "Moc...
def search_menu_items_with_http_info(self, query, **kwargs): """Search Menu Items Search over 115,000 menu items from over 800 fast food and chain restaurants. For example, McDonald's Big Mac or Starbucks Mocha. This method makes a synchronous HTTP request by default. To make an as...
[ "def", "search_menu_items_with_http_info", "(", "self", ",", "query", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'query'", ",", "'min_calories'", ",", "'max_calories'", ",", "'min_carbs'", ",", "'max_carb...
Search Menu Items # noqa: E501 Search over 115,000 menu items from over 800 fast food and chain restaurants.
[ "Search", "Menu", "Items", "#", "noqa", ":", "E501", "Search", "over", "115", "000", "menu", "items", "from", "over", "800", "fast", "food", "and", "chain", "restaurants", "." ]
[ "# noqa: E501", "\"\"\"Search Menu Items # noqa: E501\n\n Search over 115,000 menu items from over 800 fast food and chain restaurants. For example, McDonald's Big Mac or Starbucks Mocha. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP ...
[ { "param": "self", "type": null }, { "param": "query", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "query", "type": null, "docstring": null, "docstring_tokens": ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
search_recipes_by_ingredients
<not_specific>
def search_recipes_by_ingredients(self, ingredients, **kwargs): # noqa: E501 """Search Recipes by Ingredients # noqa: E501 Ever wondered what recipes you can cook with the ingredients you have in your fridge or pantry? This endpoint lets you find recipes that either maximize the usage of...
Search Recipes by Ingredients # noqa: E501 Ever wondered what recipes you can cook with the ingredients you have in your fridge or pantry? This endpoint lets you find recipes that either maximize the usage of ingredients you have at hand (pre shopping) or minimize the ingredients that you don't c...
Search Recipes by Ingredients # noqa: E501 Ever wondered what recipes you can cook with the ingredients you have in your fridge or pantry. This endpoint lets you find recipes that either maximize the usage of ingredients you have at hand (pre shopping) or minimize the ingredients that you don't currently have (post sh...
[ "Search", "Recipes", "by", "Ingredients", "#", "noqa", ":", "E501", "Ever", "wondered", "what", "recipes", "you", "can", "cook", "with", "the", "ingredients", "you", "have", "in", "your", "fridge", "or", "pantry", ".", "This", "endpoint", "lets", "you", "f...
def search_recipes_by_ingredients(self, ingredients, **kwargs): """Search Recipes by Ingredients Ever wondered what recipes you can cook with the ingredients you have in your fridge or pantry? This endpoint lets you find recipes that either maximize the usage of ingredients you have at ...
[ "def", "search_recipes_by_ingredients", "(", "self", ",", "ingredients", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "search_recipe...
Search Recipes by Ingredients # noqa: E501 Ever wondered what recipes you can cook with the ingredients you have in your fridge or pantry?
[ "Search", "Recipes", "by", "Ingredients", "#", "noqa", ":", "E501", "Ever", "wondered", "what", "recipes", "you", "can", "cook", "with", "the", "ingredients", "you", "have", "in", "your", "fridge", "or", "pantry?" ]
[ "# noqa: E501", "\"\"\"Search Recipes by Ingredients # noqa: E501\n\n Ever wondered what recipes you can cook with the ingredients you have in your fridge or pantry? This endpoint lets you find recipes that either maximize the usage of ingredients you have at hand (pre shopping) or minimize t...
[ { "param": "self", "type": null }, { "param": "ingredients", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "ingredients", "type": null, "docstring": null, "docstring_tok...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
search_recipes_by_ingredients_with_http_info
<not_specific>
def search_recipes_by_ingredients_with_http_info(self, ingredients, **kwargs): # noqa: E501 """Search Recipes by Ingredients # noqa: E501 Ever wondered what recipes you can cook with the ingredients you have in your fridge or pantry? This endpoint lets you find recipes that either maximi...
Search Recipes by Ingredients # noqa: E501 Ever wondered what recipes you can cook with the ingredients you have in your fridge or pantry? This endpoint lets you find recipes that either maximize the usage of ingredients you have at hand (pre shopping) or minimize the ingredients that you don't c...
Search Recipes by Ingredients # noqa: E501 Ever wondered what recipes you can cook with the ingredients you have in your fridge or pantry. This endpoint lets you find recipes that either maximize the usage of ingredients you have at hand (pre shopping) or minimize the ingredients that you don't currently have (post sh...
[ "Search", "Recipes", "by", "Ingredients", "#", "noqa", ":", "E501", "Ever", "wondered", "what", "recipes", "you", "can", "cook", "with", "the", "ingredients", "you", "have", "in", "your", "fridge", "or", "pantry", ".", "This", "endpoint", "lets", "you", "f...
def search_recipes_by_ingredients_with_http_info(self, ingredients, **kwargs): """Search Recipes by Ingredients Ever wondered what recipes you can cook with the ingredients you have in your fridge or pantry? This endpoint lets you find recipes that either maximize the usage of ingredien...
[ "def", "search_recipes_by_ingredients_with_http_info", "(", "self", ",", "ingredients", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'ingredients'", ",", "'number'", ",", "'limit_license'", ",", "'ranking'", ...
Search Recipes by Ingredients # noqa: E501 Ever wondered what recipes you can cook with the ingredients you have in your fridge or pantry?
[ "Search", "Recipes", "by", "Ingredients", "#", "noqa", ":", "E501", "Ever", "wondered", "what", "recipes", "you", "can", "cook", "with", "the", "ingredients", "you", "have", "in", "your", "fridge", "or", "pantry?" ]
[ "# noqa: E501", "\"\"\"Search Recipes by Ingredients # noqa: E501\n\n Ever wondered what recipes you can cook with the ingredients you have in your fridge or pantry? This endpoint lets you find recipes that either maximize the usage of ingredients you have at hand (pre shopping) or minimize t...
[ { "param": "self", "type": null }, { "param": "ingredients", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "ingredients", "type": null, "docstring": null, "docstring_tok...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
search_site_content
<not_specific>
def search_site_content(self, query, **kwargs): # noqa: E501 """Search Site Content # noqa: E501 Search spoonacular's site content. You'll be able to find everything that you could also find using the search suggestions on spoonacular.com. This is a suggest API so you can send partial strings as quer...
Search Site Content # noqa: E501 Search spoonacular's site content. You'll be able to find everything that you could also find using the search suggestions on spoonacular.com. This is a suggest API so you can send partial strings as queries. # noqa: E501 This method makes a synchronous HTTP request b...
Search Site Content # noqa: E501 Search spoonacular's site content. You'll be able to find everything that you could also find using the search suggestions on spoonacular.com. This is a suggest API so you can send partial strings as queries. # noqa: E501 This method makes a synchronous HTTP request by default. :para...
[ "Search", "Site", "Content", "#", "noqa", ":", "E501", "Search", "spoonacular", "'", "s", "site", "content", ".", "You", "'", "ll", "be", "able", "to", "find", "everything", "that", "you", "could", "also", "find", "using", "the", "search", "suggestions", ...
def search_site_content(self, query, **kwargs): """Search Site Content Search spoonacular's site content. You'll be able to find everything that you could also find using the search suggestions on spoonacular.com. This is a suggest API so you can send partial strings as queries. This metho...
[ "def", "search_site_content", "(", "self", ",", "query", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "search_site_content_with_http...
Search Site Content # noqa: E501 Search spoonacular's site content.
[ "Search", "Site", "Content", "#", "noqa", ":", "E501", "Search", "spoonacular", "'", "s", "site", "content", "." ]
[ "# noqa: E501", "\"\"\"Search Site Content # noqa: E501\n\n Search spoonacular's site content. You'll be able to find everything that you could also find using the search suggestions on spoonacular.com. This is a suggest API so you can send partial strings as queries. # noqa: E501\n This method ma...
[ { "param": "self", "type": null }, { "param": "query", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "query", "type": null, "docstring": null, "docstring_tokens": ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
search_site_content_with_http_info
<not_specific>
def search_site_content_with_http_info(self, query, **kwargs): # noqa: E501 """Search Site Content # noqa: E501 Search spoonacular's site content. You'll be able to find everything that you could also find using the search suggestions on spoonacular.com. This is a suggest API so you can send partial ...
Search Site Content # noqa: E501 Search spoonacular's site content. You'll be able to find everything that you could also find using the search suggestions on spoonacular.com. This is a suggest API so you can send partial strings as queries. # noqa: E501 This method makes a synchronous HTTP request b...
Search Site Content # noqa: E501 Search spoonacular's site content. You'll be able to find everything that you could also find using the search suggestions on spoonacular.com. This is a suggest API so you can send partial strings as queries. # noqa: E501 This method makes a synchronous HTTP request by default. :para...
[ "Search", "Site", "Content", "#", "noqa", ":", "E501", "Search", "spoonacular", "'", "s", "site", "content", ".", "You", "'", "ll", "be", "able", "to", "find", "everything", "that", "you", "could", "also", "find", "using", "the", "search", "suggestions", ...
def search_site_content_with_http_info(self, query, **kwargs): """Search Site Content Search spoonacular's site content. You'll be able to find everything that you could also find using the search suggestions on spoonacular.com. This is a suggest API so you can send partial strings as queries. ...
[ "def", "search_site_content_with_http_info", "(", "self", ",", "query", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'query'", "]", "all_params", ".", "append", "(", "'async_req'", ")", "all_params", ".",...
Search Site Content # noqa: E501 Search spoonacular's site content.
[ "Search", "Site", "Content", "#", "noqa", ":", "E501", "Search", "spoonacular", "'", "s", "site", "content", "." ]
[ "# noqa: E501", "\"\"\"Search Site Content # noqa: E501\n\n Search spoonacular's site content. You'll be able to find everything that you could also find using the search suggestions on spoonacular.com. This is a suggest API so you can send partial strings as queries. # noqa: E501\n This method ma...
[ { "param": "self", "type": null }, { "param": "query", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "query", "type": null, "docstring": null, "docstring_tokens": ...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
summarize_recipe
<not_specific>
def summarize_recipe(self, id, **kwargs): # noqa: E501 """Summarize Recipe # noqa: E501 Automatically generate a short description that summarizes key information about the recipe. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP requ...
Summarize Recipe # noqa: E501 Automatically generate a short description that summarizes key information about the recipe. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.summarize_...
Summarize Recipe # noqa: E501 Automatically generate a short description that summarizes key information about the recipe. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param float id: The recipe id. (required) :return: object If the method is called asynchronously, ret...
[ "Summarize", "Recipe", "#", "noqa", ":", "E501", "Automatically", "generate", "a", "short", "description", "that", "summarizes", "key", "information", "about", "the", "recipe", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP...
def summarize_recipe(self, id, **kwargs): """Summarize Recipe Automatically generate a short description that summarizes key information about the recipe. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True ...
[ "def", "summarize_recipe", "(", "self", ",", "id", ",", "**", "kwargs", ")", ":", "kwargs", "[", "'_return_http_data_only'", "]", "=", "True", "if", "kwargs", ".", "get", "(", "'async_req'", ")", ":", "return", "self", ".", "summarize_recipe_with_http_info", ...
Summarize Recipe # noqa: E501 Automatically generate a short description that summarizes key information about the recipe.
[ "Summarize", "Recipe", "#", "noqa", ":", "E501", "Automatically", "generate", "a", "short", "description", "that", "summarizes", "key", "information", "about", "the", "recipe", "." ]
[ "# noqa: E501", "\"\"\"Summarize Recipe # noqa: E501\n\n Automatically generate a short description that summarizes key information about the recipe. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n ...
[ { "param": "self", "type": null }, { "param": "id", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "id", "type": null, "docstring": null, "docstring_tokens": [],...
5bfd72a50dac5ff819de892874fd69ba27ccd7a5
mikaylakonst/spoonacular-api-clients
python/spoonacular/com/spoonacular/default_api.py
[ "MIT" ]
Python
summarize_recipe_with_http_info
<not_specific>
def summarize_recipe_with_http_info(self, id, **kwargs): # noqa: E501 """Summarize Recipe # noqa: E501 Automatically generate a short description that summarizes key information about the recipe. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchr...
Summarize Recipe # noqa: E501 Automatically generate a short description that summarizes key information about the recipe. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.summarize_...
Summarize Recipe # noqa: E501 Automatically generate a short description that summarizes key information about the recipe. # noqa: E501 This method makes a synchronous HTTP request by default. :param async_req bool :param float id: The recipe id. (required) :return: object If the method is called asynchronously, ret...
[ "Summarize", "Recipe", "#", "noqa", ":", "E501", "Automatically", "generate", "a", "short", "description", "that", "summarizes", "key", "information", "about", "the", "recipe", ".", "#", "noqa", ":", "E501", "This", "method", "makes", "a", "synchronous", "HTTP...
def summarize_recipe_with_http_info(self, id, **kwargs): """Summarize Recipe Automatically generate a short description that summarizes key information about the recipe. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async...
[ "def", "summarize_recipe_with_http_info", "(", "self", ",", "id", ",", "**", "kwargs", ")", ":", "local_var_params", "=", "locals", "(", ")", "all_params", "=", "[", "'id'", "]", "all_params", ".", "append", "(", "'async_req'", ")", "all_params", ".", "appen...
Summarize Recipe # noqa: E501 Automatically generate a short description that summarizes key information about the recipe.
[ "Summarize", "Recipe", "#", "noqa", ":", "E501", "Automatically", "generate", "a", "short", "description", "that", "summarizes", "key", "information", "about", "the", "recipe", "." ]
[ "# noqa: E501", "\"\"\"Summarize Recipe # noqa: E501\n\n Automatically generate a short description that summarizes key information about the recipe. # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n ...
[ { "param": "self", "type": null }, { "param": "id", "type": null } ]
{ "returns": [], "raises": [], "params": [ { "identifier": "self", "type": null, "docstring": null, "docstring_tokens": [], "default": null, "is_optional": null }, { "identifier": "id", "type": null, "docstring": null, "docstring_tokens": [],...