mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[Docs] Config fix (#921)
This commit is contained in:
parent
da28630644
commit
fa5a1f9c19
@ -1,6 +1,6 @@
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
from typing import Callable, Union, Tuple, Coroutine
|
from typing import Callable, Union, Tuple
|
||||||
|
|
||||||
import discord
|
import discord
|
||||||
from copy import deepcopy
|
from copy import deepcopy
|
||||||
@ -195,7 +195,7 @@ class Group(Value):
|
|||||||
|
|
||||||
return not isinstance(default, dict)
|
return not isinstance(default, dict)
|
||||||
|
|
||||||
def get_attr(self, item: str, default=None, resolve=True) -> Union[Value, Coroutine]:
|
def get_attr(self, item: str, default=None, resolve=True):
|
||||||
"""
|
"""
|
||||||
This is available to use as an alternative to using normal Python attribute access. It is required if you find
|
This is available to use as an alternative to using normal Python attribute access. It is required if you find
|
||||||
a need for dynamic attribute access.
|
a need for dynamic attribute access.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user