Skip to content

Instantly share code, notes, and snippets.

@dwf
Created October 12, 2016 04:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dwf/2279979ef4ddcd5ebd8db96f65569421 to your computer and use it in GitHub Desktop.
Save dwf/2279979ef4ddcd5ebd8db96f65569421 to your computer and use it in GitHub Desktop.
Example of interleaving data streams with Fuel and conditional processing with Blocks.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@apeterswu
Copy link

Great post. This would be great help.

@apeterswu
Copy link

apeterswu commented Oct 24, 2016

I met one problem while using this:

return super(IdentifierSource, self).sources + (self.id_source_name,)
TypeError: can only concatenate list (not "tuple") to list.

Do I need to change like:

return super(IdentifierSource, self).sources + [self.id_source_name, ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment