We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f244ccf commit 00ff356Copy full SHA for 00ff356
1 file changed
src/omnipkg/commands/run.py
@@ -1011,8 +1011,9 @@ def get_conda_forge_mapping(import_name):
1011
Checks the conda-forge 'County Fair' mapping for import_name -> pypi_name.
1012
Downloads, caches to disk, and loads into memory to maintain lightning speed.
1013
"""
1014
+ global _CF_CACHE_LOADED, _CF_MAPPING_CACHE
1015
import os, time, urllib.request, re
-
1016
+
1017
# Return instantly if we already loaded it this session
1018
if _CF_CACHE_LOADED:
1019
return _CF_MAPPING_CACHE.get(import_name)
0 commit comments