Skip to content

Export gen_dict_entries in public API#12

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/find-gen-dict-entries-function
Draft

Export gen_dict_entries in public API#12
Copilot wants to merge 2 commits intomasterfrom
copilot/find-gen-dict-entries-function

Conversation

Copy link
Copy Markdown

Copilot AI commented Jan 28, 2026

The gen_dict_entries utility function exists in utility_functions.py and is documented in the manual, but was not exported in __init__.py, preventing standard imports.

Changes

  • Added gen_dict_entries to public API exports in src/esbmtk/__init__.py

The function can now be imported directly:

from esbmtk import gen_dict_entries

# Find fluxes matching ref_id and generate connection keys
keys, fluxes = gen_dict_entries(M, ref_id="POM_P", target_id="POM_DIC")

Previously required:

from esbmtk.utility_functions import gen_dict_entries
Original prompt

In an older release, Isued to have a function called gen_dict_entries. Can you help me finding this function?


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: uliw <7154306+uliw@users.noreply.github.com>
Copilot AI changed the title [WIP] Search for gen_dict_entries function in older release Export gen_dict_entries in public API Jan 28, 2026
Copilot AI requested a review from uliw January 28, 2026 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants