Skip to content
#

sqlalchemy

Here are 1,800 public repositories matching this topic...

willvousden
willvousden commented Oct 13, 2018

Is the README the only documentation available for this project? I find myself having to read the source to understand the interface and features that are available (e.g., context managers, bulk_query, etc.).

In the case of bulk_query, the arguments are simply passed through to the underlying SQLAlchemy engine, with no explanation. I tracked it down in [SQLAlchemy's documentation](https:/

cowgill
cowgill commented Mar 21, 2019

I've searched high and low trying to find a flask-sqlalchemy reflect example that actually works.

There seem to be others with the same issue (via stack overflow) who are frustrated. I'm sure you're tired of having to troubleshoot for users as well. :-(

I'd be happy to write up the doc if you could provide a working example (using an app factory and without).

Here's what I've come up with

gbinal
gbinal commented Mar 18, 2016

Thanks for making such great code. I've got an instance running and am trying to document the ways that I can query the API.

So far, I've found:

  • ?page=2
  • ?[columnheader]=[value]
  • ?[columnheader1]=[value1]&[columnheader3]=[value4] (returns results that have both value1 and value2)
  • ?[columnheader1]=[value1]&[columnheader1]=[value2] (returns results that have value1 OR value2)

I'

LittleEndu
LittleEndu commented Jul 20, 2018

Hello

I was trying to assist someone using aiomysql for the first time. I myself use postgre and asyncpg, so I was relying on the documentation while helping them.

But the examples in the documentation use hard-coded queries or weird ways to escape, something a regular user would never do. Also the use of variables is too heavy. Examples should be clear, every argument of execute should be s

mariadimou
mariadimou commented Feb 11, 2020

When uploading a logo in an Indico Category settings' page, one gets
"Bad Request" and is thrown back to the Indico home page, if the filetype is not one of:
accepted_file_types='image/jpeg,image/jpg,image/png,image/gif'

The "Bad Request" error message says: Required argument missing: logo.

It says nothing about the required file types. In the management area either...

This is no

evilaliv3
evilaliv3 commented Apr 23, 2020

Discussing with Mexicoleaks it has been identified valuable to add a feature to make it possible for an admin to add instructions to be provided to users when downloading files.

This could be useful to always provide documentation to users part of the project; this documentation is expected to be used for training users about risks related to malware and metadata.

The idea is that any file d

CaselIT
CaselIT commented Apr 8, 2020

While using alembic I came across two areas that I think could be improved:

  • in the template evn.py before setting the log config we should check if it's not already setup.
    I think that we can do it by checking if the root logger has an handler configured.
    This is useful if alembic is used programmatically, since it avoids resetting the program logging config.
    I guess that an option
williamjulianvicary
williamjulianvicary commented Jul 29, 2019

Firstly, thank you for the great extension!!

I've ran into an error that I'm sure others will have ran into, it may be worth updating the docs with a warning about it.

Our structure was as follows:

  • Each model has it's own module
  • Each model module also contains a Schema and Manager for example UserModel, UserSchema, UserManager all defined within /models/user.py

Some background - w

omrihar
omrihar commented Jun 17, 2019

This might be a very edgy edge case, but it goes as follows:
I'm using sqlalchemy_utils.i18n translation_hybrid in my application to provide translations for some of the fields in my models. Since I use them quite often, I created Mixins that define them. Since the name of the columns is not defined in the mixin directly, it has to be defined via the @declared_attr decorator. This (I suspec

Improve this page

Add a description, image, and links to the sqlalchemy topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the sqlalchemy topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.