summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-04-26 13:13:13 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-04-26 13:13:13 -0700
commit1caa7fafbd3c9870e1bf2b2ac623872447fc804e (patch)
tree509f53bfba7c3bbc6941653b82c7cefcb819247c /examples
parent146fbf6d26a8c4140a47aeb03131fdf81007b9a2 (diff)
downloadsqlalchemy-pr/85.tar.gz
Fix many typos throughout the codebasepr/85
Found using: https://github.com/intgr/topy
Diffstat (limited to 'examples')
-rw-r--r--examples/sharding/attribute_shard.py2
-rw-r--r--examples/versioned_rows/versioned_map.py4
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."""