<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/til-143-resolve-a-lazy-import-manually-ot7558x2a" -->

---
title: TIL #143 – Resolve a lazy import manually | daily.dev
description: Python 3.15 introduces lazy imports, and the lazy import object exposes a `resolve()` method that manually triggers reification — returning the actual module...
canonical: https://daily.dev/posts/til-143-resolve-a-lazy-import-manually-ot7558x2a
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: TIL #143 – Resolve a lazy import manually | daily.dev
og:description: Python 3.15 introduces lazy imports, and the lazy import object exposes a `resolve()` method that manually triggers reification — returning the actual module...
og:url: https://daily.dev/posts/til-143-resolve-a-lazy-import-manually-ot7558x2a
og:image: https://api.daily.dev/og/posts/Ot7558X2a.png
og:image:alt: TIL #143 – Resolve a lazy import manually
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# TIL #143 – Resolve a lazy import manually

**[Planet Python](https://daily.dev/sources/planetpython)** · 2 min read · 0 upvotes · 0 comments

## Summary

Python 3.15 introduces lazy imports, and the lazy import object exposes a `resolve()` method that manually triggers reification — returning the actual module object. Calling `resolve()` does not automatically reassign the name in `globals()`, suggesting the Python machinery does something like `globals()[name] = globals()[name].resolve()` when a lazy import is first accessed. The post also notes the open question of what exactly triggers automatic reification when code 'touches' a lazy import.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://mathspp.com/blog/til/resolve-a-lazy-import-manually>

## Similar posts on daily.dev

- [TIL \#141 – Inspect a lazy import](https://daily.dev/posts/til-141-inspect-a-lazy-import-cuhia3t7d) · Planet Python · 1 upvotes · 0 comments
- [Speed boost your Python programs with new lazy imports](https://daily.dev/posts/speed-boost-your-python-programs-with-new-lazy-imports-nrny4b0qs) · InfoWorld · 0 upvotes · 0 comments
- [Explicit Lazy Imports Are Coming to Python 3.15](https://daily.dev/posts/explicit-lazy-imports-are-coming-to-python-3-15-e4cphmy32) · JetBrains · 0 upvotes · 0 comments
- [Python 3.15 Preview: Lazy Imports – Real Python](https://daily.dev/posts/python-3-15-preview-lazy-imports-real-python-dsgagrmmp) · Real Python · 0 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python)

[View this post on daily.dev](https://daily.dev/posts/til-143-resolve-a-lazy-import-manually-ot7558x2a)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"TIL #143 – Resolve a lazy import manually","url":"https://daily.dev/posts/til-143-resolve-a-lazy-import-manually-ot7558x2a","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/til-143-resolve-a-lazy-import-manually-ot7558x2a"},"datePublished":"2026-04-27T16:49:13.705Z","dateModified":"2026-04-27T16:49:36.298Z","description":"Python 3.15 introduces lazy imports, and the lazy import object exposes a `resolve()` method that manually triggers reification — returning the actual module...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/9eca5710b619e633954a9e77256ecb78?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/9eca5710b619e633954a9e77256ecb78?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Planet Python","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Planet Python","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/eac3cc584cb043b5a242d13752bd3d0c","url":"https://daily.dev/sources/planetpython"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/til-143-resolve-a-lazy-import-manually-ot7558x2a","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Planet Python","item":"https://daily.dev/sources/planetpython"},{"@type":"ListItem","position":3,"name":"TIL #143 – Resolve a lazy import manually"}]}
```

