diff --git a/examples/stories/movie_lister/app_csv.py b/examples/stories/movie_lister/app_csv.py index 778f440c..f7a5102e 100644 --- a/examples/stories/movie_lister/app_csv.py +++ b/examples/stories/movie_lister/app_csv.py @@ -27,7 +27,6 @@ class MyMoviesModule(catalogs.DeclarativeCatalog): *MoviesModule.movie_finder.injections, csv_file=MOVIES_CSV_PATH, delimeter=',') - """:type: providers.Provider -> finders.CsvMovieFinder""" @injections.inject(MoviesModule.movie_lister) diff --git a/examples/stories/movie_lister/app_db.py b/examples/stories/movie_lister/app_db.py index f5cc5fd5..9e22848a 100644 --- a/examples/stories/movie_lister/app_db.py +++ b/examples/stories/movie_lister/app_db.py @@ -26,7 +26,6 @@ class ApplicationModule(catalogs.DeclarativeCatalog): database = providers.Singleton(sqlite3.connect, MOVIES_DB_PATH) - """:type: providers.Provider -> sqlite3.Connection""" @catalogs.override(MoviesModule) @@ -36,7 +35,6 @@ class MyMoviesModule(catalogs.DeclarativeCatalog): movie_finder = providers.Factory(finders.SqliteMovieFinder, *MoviesModule.movie_finder.injections, database=ApplicationModule.database) - """:type: providers.Provider -> finders.SqliteMovieFinder""" @injections.inject(MoviesModule.movie_lister) diff --git a/examples/stories/movie_lister/movies/__init__.py b/examples/stories/movie_lister/movies/__init__.py index f6709119..842dda80 100644 --- a/examples/stories/movie_lister/movies/__init__.py +++ b/examples/stories/movie_lister/movies/__init__.py @@ -19,12 +19,9 @@ class MoviesModule(catalogs.DeclarativeCatalog): """Catalog of movies module components.""" movie_model = providers.DelegatedFactory(models.Movie) - """:type: providers.Provider -> models.Movie""" movie_finder = providers.Factory(finders.MovieFinder, movie_model=movie_model) - """:type: providers.Provider -> finders.MovieFinder""" movie_lister = providers.Factory(listers.MovieLister, movie_finder=movie_finder) - """:type: providers.Provider -> listers.MovieLister"""