Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bubbles/execution/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def __init__(self, nodes=None, connections=None):

if connections:
for connection in connections:
self.connect(*connectio)
self.connect(*connection)

def _generate_node_name(self):
"""Generates unique name for a node"""
Expand Down
3 changes: 2 additions & 1 deletion bubbles/ops/rows.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from time import strptime
from base64 import b64decode
import json
import re

# FIXME: add cheaper version for already sorted data
# FIXME: BasicAuditProbe was removed
Expand Down Expand Up @@ -676,7 +677,7 @@ def _(ctx, iterator, field, substitutions):
"""Substitute field using text substitutions"""
# Compile patterns
fields = iterator.fields
substitutions = [(re.compile(patt), r) for (patt, r) in subsitutions]
substitutions = [(re.compile(patt), r) for (patt, r) in substitutions]
index = fields.index(field)
for row in iterator:
row = list(row)
Expand Down