Skip to content

Commit

Permalink
annotate resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
michalwols committed Mar 23, 2024
1 parent ac2ac62 commit 8932acd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yann/config/registry.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import typing
from typing import Union, Tuple, Dict, Any
from collections import defaultdict, OrderedDict

from functools import partial
Expand Down Expand Up @@ -72,7 +73,7 @@ def __init__(self, registry: 'Registry'):

def resolve(
self,
x,
x: Union[Any, Tuple[Any, Dict]],
required=False,
validate=None,
instance=True,
Expand Down

0 comments on commit 8932acd

Please sign in to comment.