We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Home >> CYCLUS Archetype Developer Guide >> Dynamic Resource Exchange >> Request for Bids Phase >> Python
The sample code reads:
def get_material_requests(self): request_qty = 10.0 # kg # Material Target A recipe_a = self.context().get_recipe("recipeA") target_a = ts.Material.create_untracked(request_qty, recipe_a)
should it instead be:
def get_material_requests(self): request_qty = 10.0 # kg # Material Target A recipe_a = self.context.get_recipe("recipeA") target_a = ts.Material.create_untracked(request_qty, recipe_a)
ie. self.context.get_recipe("recipeA") instead of self.context().get_recipe("recipeA")?
The text was updated successfully, but these errors were encountered:
dean-krueger
No branches or pull requests
Home >> CYCLUS Archetype Developer Guide >> Dynamic Resource Exchange >> Request for Bids Phase >> Python
The sample code reads:
def get_material_requests(self):
request_qty = 10.0 # kg
# Material Target A
recipe_a = self.context().get_recipe("recipeA")
target_a = ts.Material.create_untracked(request_qty, recipe_a)
should it instead be:
def get_material_requests(self):
request_qty = 10.0 # kg
# Material Target A
recipe_a = self.context.get_recipe("recipeA")
target_a = ts.Material.create_untracked(request_qty, recipe_a)
ie. self.context.get_recipe("recipeA") instead of self.context().get_recipe("recipeA")?
The text was updated successfully, but these errors were encountered: