diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/sharding/attribute_shard.py | 2 | ||||
| -rw-r--r-- | examples/versioned_rows/versioned_map.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/sharding/attribute_shard.py b/examples/sharding/attribute_shard.py index 410346838..34b1be5b2 100644 --- a/examples/sharding/attribute_shard.py +++ b/examples/sharding/attribute_shard.py @@ -109,7 +109,7 @@ def id_chooser(query, ident): given a primary key, returns a list of shards to search. here, we don't have any particular information from a - pk so we just return all shard ids. often, youd want to do some + pk so we just return all shard ids. often, you'd want to do some kind of round-robin strategy here so that requests are evenly distributed among DBs. diff --git a/examples/versioned_rows/versioned_map.py b/examples/versioned_rows/versioned_map.py index 774bfbe05..054c55492 100644 --- a/examples/versioned_rows/versioned_map.py +++ b/examples/versioned_rows/versioned_map.py @@ -111,7 +111,7 @@ class ConfigData(Base): make_transient(self) self.id = None - # history of the 'elements' collecton. + # history of the 'elements' collection. # this is a tuple of groups: (added, unchanged, deleted) hist = attributes.get_history(self, 'elements') @@ -146,7 +146,7 @@ class ConfigValueAssociation(Base): config_value_id = Column(ForeignKey('config_value.id'), primary_key=True) - """Reference the primary key of hte ConfigValue object.""" + """Reference the primary key of the ConfigValue object.""" config_value = relationship("ConfigValue", lazy="joined", innerjoin=True) """Reference the related ConfigValue object.""" |
