# Access nested dependency \`A.B\` without triggering \`A.\_\_init\_\_()\`

**URL:** <https://discourse.julialang.org/t/access-nested-dependency-a-b-without-triggering-a-init/37137>\
**Category:** General Usage\
**Created:** [April 7, 2020, 1:58am UTC](https://discourse.julialang.org/t/access-nested-dependency-a-b-without-triggering-a-init/37137 "2020-04-07T01:58:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![goretkin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goretkin/32/167_2.png) [@goretkin](https://discourse.julialang.org/u/goretkin)\
**Post date:** [April 7, 2020, 1:58am UTC](https://discourse.julialang.org/t/access-nested-dependency-a-b-without-triggering-a-init/37137/1 "2020-04-07T01:58:07Z")

</div>

Example: I have expressed a dependency on `PyPlot`, and I want to access `PyCall` (which is a dependency of `PyPlot`. I can do `import PyPlot; PyPlot.PyCall`, but that triggers `PyPlot. __init__ ()`. Is there a way to access `PyCall` without importing `PyPlot`, other than adding `PyCall` as a direct dependency?
