diff --git a/docs/images/catalogs/declarative.png b/docs/images/catalogs/declarative.png deleted file mode 100644 index 81d3740f..00000000 Binary files a/docs/images/catalogs/declarative.png and /dev/null differ diff --git a/docs/images/catalogs/declarative_inheritance.png b/docs/images/catalogs/declarative_inheritance.png deleted file mode 100644 index 53dc40c1..00000000 Binary files a/docs/images/catalogs/declarative_inheritance.png and /dev/null differ diff --git a/docs/images/catalogs/declarative_injections.png b/docs/images/catalogs/declarative_injections.png deleted file mode 100644 index 2a487d32..00000000 Binary files a/docs/images/catalogs/declarative_injections.png and /dev/null differ diff --git a/docs/images/catalogs/bundles.png b/docs/images/containers/bundles.png similarity index 100% rename from docs/images/catalogs/bundles.png rename to docs/images/containers/bundles.png diff --git a/docs/images/containers/declarative.png b/docs/images/containers/declarative.png new file mode 100644 index 00000000..11b0297d Binary files /dev/null and b/docs/images/containers/declarative.png differ diff --git a/docs/images/containers/declarative_inheritance.png b/docs/images/containers/declarative_inheritance.png new file mode 100644 index 00000000..1e0eb1f4 Binary files /dev/null and b/docs/images/containers/declarative_inheritance.png differ diff --git a/docs/images/containers/declarative_injections.png b/docs/images/containers/declarative_injections.png new file mode 100644 index 00000000..36454e5b Binary files /dev/null and b/docs/images/containers/declarative_injections.png differ diff --git a/examples/containers/declarative.py b/examples/containers/declarative.py index b6a57b42..2e5fb421 100644 --- a/examples/containers/declarative.py +++ b/examples/containers/declarative.py @@ -1,7 +1,7 @@ """Declarative IoC container simple example.""" -from dependency_injector import containers -from dependency_injector import providers +import dependency_injector.containers as containers +import dependency_injector.providers as providers # Defining declarative IoC container: diff --git a/examples/containers/declarative_inheritance.py b/examples/containers/declarative_inheritance.py index 3f2b46db..ed2fa531 100644 --- a/examples/containers/declarative_inheritance.py +++ b/examples/containers/declarative_inheritance.py @@ -1,7 +1,7 @@ """Declarative IoC containers inheritance example.""" -from dependency_injector import containers -from dependency_injector import providers +import dependency_injector.containers as containers +import dependency_injector.providers as providers class ContainerA(containers.DeclarativeContainer): diff --git a/examples/containers/declarative_injections.py b/examples/containers/declarative_injections.py index f3bbf349..2340fe60 100644 --- a/examples/containers/declarative_injections.py +++ b/examples/containers/declarative_injections.py @@ -2,8 +2,8 @@ import sqlite3 -from dependency_injector import containers -from dependency_injector import providers +import dependency_injector.containers as containers +import dependency_injector.providers as providers class UsersService(object):