mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
* Move all fixtures to pytest plugin folder * Add core dunder all * Update other dunder all's * Black reformat
13 lines
232 B
Python
13 lines
232 B
Python
from pathlib import Path
|
|
|
|
from redbot.cogs.dataconverter import core_specs
|
|
|
|
__all__ = ["get_specresolver"]
|
|
|
|
|
|
def get_specresolver(path):
|
|
here = Path(path)
|
|
|
|
resolver = core_specs.SpecResolver(here.parent)
|
|
return resolver
|