-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
indirect-vs-inline-python #23
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
indirect-vs-inline-python
Overview
Context
Scenario
Example
BEFORE
AFTER
Feature request
--idmarker=
or--outputmarker=
--marker
cmd_line flag--marker
does, it would instead remove the need to specify inline python withcog.out("PythonCodeHere")
-D name=val
cmd_line flagWorkaround
--marker
option[[[cog ]]] [[[end]]]
to become<cogbeg coguri= <cogend>
-D name=val
cmd_line flag-D name=val
cmd_line flag is not friendly to python-generated output that spans more than one linecoggid="unique_id_here"
becomescog.out(MyPyOutputEngine.unique_id_here())
cog.out(..)
changes back tocoggid="..."
See also
The text was updated successfully, but these errors were encountered: