Search is not available for this dataset
identifier stringlengths 1 155 | parameters stringlengths 2 6.09k | docstring stringlengths 11 63.4k | docstring_summary stringlengths 0 63.4k | function stringlengths 29 99.8k | function_tokens list | start_point list | end_point list | language stringclasses 1 value | docstring_language stringlengths 2 7 | docstring_language_predictions stringlengths 18 23 | is_langid_reliable stringclasses 2 values |
|---|---|---|---|---|---|---|---|---|---|---|---|
Loader.get_template_sources | (self, template_name) |
An iterator that yields possible matching template paths for a
template name.
|
An iterator that yields possible matching template paths for a
template name.
| def get_template_sources(self, template_name):
"""
An iterator that yields possible matching template paths for a
template name.
"""
raise NotImplementedError(
'subclasses of Loader must provide a get_template_sources() method'
) | [
"def",
"get_template_sources",
"(",
"self",
",",
"template_name",
")",
":",
"raise",
"NotImplementedError",
"(",
"'subclasses of Loader must provide a get_template_sources() method'",
")"
] | [
34,
4
] | [
41,
9
] | python | en | ['en', 'error', 'th'] | False |
Loader.reset | (self) |
Reset any state maintained by the loader instance (e.g. cached
templates or cached loader modules).
|
Reset any state maintained by the loader instance (e.g. cached
templates or cached loader modules).
| def reset(self):
"""
Reset any state maintained by the loader instance (e.g. cached
templates or cached loader modules).
"""
pass | [
"def",
"reset",
"(",
"self",
")",
":",
"pass"
] | [
43,
4
] | [
48,
12
] | python | en | ['en', 'error', 'th'] | False |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.