title: When to use SQLAlchemy .get() vs .filter(Foo.ID == primary_key_id).first()
body: <p>Just curious about when I would want to use one vs the other. How are they different?</p>
  
  <p>We have our system set up such that we can do this:</p>
  
  <pre><code>my_user = User.query().filter(User.ID == 5).first()
  </code></pre>
  
  <p>or</p>
  
  <pre><code>my_user = User.query().get(5)
  </code></pre>