Skip to content

Commit

Permalink
Run formatting again
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Romeyn <mromeijn@nvidia.com>
  • Loading branch information
marcromeyn committed Aug 22, 2024
1 parent d64cdcf commit 3e4d537
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
18 changes: 14 additions & 4 deletions src/nemo_run/cli/cli_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,19 @@
from enum import Enum
from functools import lru_cache
from pathlib import Path
from typing import (Any, Callable, Dict, List, Literal, Optional, Type,
TypeVar, Union, get_args, get_origin)
from typing import (
Any,
Callable,
Dict,
List,
Literal,
Optional,
Type,
TypeVar,
Union,
get_args,
get_origin,
)

import fiddle as fdl

Expand Down Expand Up @@ -1113,8 +1124,7 @@ def parse_factory(parent: Type, arg_name: str, arg_type: Type, value: str) -> An
"""
import catalogue

from nemo_run.config import (Partial, get_type_namespace,
get_underlying_types)
from nemo_run.config import Partial, get_type_namespace, get_underlying_types

def _get_from_registry(val, annotation, name):
if catalogue.check_exists(get_type_namespace(annotation), val):
Expand Down
3 changes: 1 addition & 2 deletions src/nemo_run/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
import typing
from pathlib import Path
from types import MappingProxyType
from typing import (Any, Callable, Generic, Optional, Type, TypeVar, Union,
get_args)
from typing import Any, Callable, Generic, Optional, Type, TypeVar, Union, get_args

import fiddle as fdl
import fiddle._src.experimental.dataclasses as fdl_dc
Expand Down

0 comments on commit 3e4d537

Please sign in to comment.