Why items were connected. Excerpts are short and hashed; raw API payloads stay local.
| Kind | Source | Target | Confidence | Evidence | Evidence Hash |
|---|---|---|---|---|---|
| references | issue #13419 | pr #13398 | medium | Fix is to tokenise the inter-keyword whitespace with disjoint classes so a space only ever belongs to a separator and never to a token. PR #13398. | 5438506bfae6788939d085b934c6a38ec5025f49ae5697eb445b93df01cfeb88 |
| references | issue #13357 | issue #6810 | medium | chemy-stubs` and `sqlalchemy2-stubs` are not compatible with v2) ### Verify if the api is typed - [x] The api is not in a module listed in [#6810](https://github.com/sqlalchemy/sqlalchemy/issues/6810) so it should pass type checking ### Describe the typing issue the runtime SQ... | b6af024d295fe4523765892156245d9e94053d262e6a89b5b817c4c80c6554f3 |
| references | issue #13227 | issue #12168 | medium | dation introduced in commit [95ad9fe](https://github.com/sqlalchemy/sqlalchemy/commit/95ad9fe42b888d7cdea60b7a71c833cbb8667887) (related to #12168) breaks `WriteOnlyMapped` relationships that use `default_factory=list` in Declarative Dataclass Mapping. ### Optional link from h... | 416800bfd2ad52b0df2743f058ec1540841d1782647bd5e54b0c83bc655057ea |
| references | issue #13212 | issue #4384 | medium | it's #4384 | 608257f83fcd4eb21d244e469a1756dd4afae38a6b9ea9deea208d149aea9439 |
| competes with | issue #13210 | issue #13193 | medium | namespace.") > print(" Use ap.meta (base-class direct) instead of ap.Dog.meta.") > print("=" * 70) > ``` _Originally posted by @CaselIT in [#13193](https://github.com/sqlalchemy/sqlalchemy/issues/13193#issuecomment-4145377493)_ | f126815a8d44ecba56ca77044d109a535870c3c84161fe740f6fefc7e1d40413 |
| references | issue #13204 | issue #13193 | medium | There are a couple of cases where immediateload fails when using inheritance on relationships: - loading using immediateload a relationship on an inheritance chain that's being loaded via eager loading: `select(Meta).option(anyloader(Meta.parent_cls).immediateload(ParentCls.re... | d6af10a01c4ee0b2ddd96c96d6dd926659a632a831f4840c75ab65e66fc64d2e |
| references | issue #13204 | issue #13202 | medium | There are a couple of cases where immediateload fails when using inheritance on relationships: - loading using immediateload a relationship on an inheritance chain that's being loaded via eager loading: `select(Meta).option(anyloader(Meta.parent_cls).immediateload(ParentCls.re... | d9a355cb09796333911efbbd7d89389df5d8d79dff5a19b2f0e677a81c853616 |
| references | issue #13157 | pr #13188 | medium | Fix submitted in #13188. | ada55c738bd7c92e605adf592e0af4304c58d91d245fa81b6e2c9bcf41c43c32 |
| references | issue #13007 | issue #13006 | medium | Follow up of #13006 Set to False the default value and remove the warning | 08a3a0f3008e5ad03d320153a4b167d40723e7db07a096ac2f297b805e5dc279 |
| references | issue #12398 | issue #10668 | medium | ### Describe the use case I just received the following error of in my project and have an improvement request similar to #10668 : ``` sqlalchemy.exc.InvalidRequestError: Loader strategies for ORM Path[Mapper[Cable(cable)] -> Cable.cablesides -> Mapper[CadCableSide(ca | 07ceea06d0f1bb244249ac24902ba1dd7392e1e6bc595e75652f640133c4aefd |
| references | issue #12101 | issue #5583 | medium | ### Describe the use case The [Postgres docs](https://www.postgresql.org/docs/17/sql-select.html) specifically say that you should be able to have both a FOR UPDATE and a FOR SHARE in the same query: > Multiple locking clauses can be written if it is necessary to specify diffe... | bf6e8cce81a4e4ad031c254f2be259769d213b550fd5865ff2541cf9300ffea9 |
| references | issue #12101 | issue #5583 | medium | eems like contains_eager() + join() is more appropriate here. 3. you're asking something about the very open ended warnings/error ticket in #5583 , I guess saying that the warning we have about FOR UPDATE doesnt apply to joinedload() if one is using "of". I'm not really sure i... | 17c075eae174372b9d516a0535f376d64013cfe63319a93676e646945ce4e8d2 |
| references | issue #12097 | issue #6515 | medium | ### Describe the bug I can't use an enum type as part of a `case()` without casting. Looks very similar to https://github.com/sqlalchemy/sqlalchemy/issues/6515 ### Optional link from https://docs.sqlalchemy.org which documents the behavior that is expected _No response_ ### SQ... | d6e79d43b2f87411acce577b2cf3ca68a1757872a452446adf58cfc92d854ce0 |
| references | issue #11686 | issue #6810 | medium | chemy-stubs` and `sqlalchemy2-stubs` are not compatible with v2) ### Verify if the api is typed - [X] The api is not in a module listed in [#6810](https://github.com/sqlalchemy/sqlalchemy/issues/6810) so it should pass type checking ### Describe the typing issue An unexpected... | 9cc73297c82d8d32cb900e1a3d8d7f70ccf7e50efab470ce5bbc458ff2ebcccf |
| references | issue #11677 | pr #11678 | medium | I openend a PR to fix this issue https://github.com/sqlalchemy/sqlalchemy/pull/11678 | 9e0b49d5448c315c6fd4d9122fa60aca6f1eca0749a1376d93a29f067cdfa3b6 |
| references | issue #11620 | pr #12297 | medium | I've posted an alternative strategy that I'd like to use, detailed on the gerrit and also on the PR at https://github.com/sqlalchemy/sqlalchemy/pull/12297#issuecomment-2733436569 | d33380533bafdb0eafe088320cf5a1205e00dd6082ea55c4ed4db7d3487562b8 |
| references | issue #10936 | issue #1063 | medium | I thought this was related to #1063 but i dont think it is, unfortunately, meaning we have *two* post_update quagmire kinds of issues. | ff2f157a0104101412fa05baf83be57e5c834ee97522d8588382577d696d898b |
| references | issue #10888 | issue #6810 | medium | checked it off from this list https://github.com/sqlalchemy/sqlalchemy/issues/6810 | 3eccacb1573ec32ea9f2b62aa24ea620fa5a223de2497afa639acd5f9210c46e |
| references | issue #10859 | issue #4641 | medium | this can come in alongside #4641 this would make a change to `relationship` such that it does not set up `strategy_key` until mapper config stage, where it gets a look at i | 4fa3c8f29c672e31a3f31e7da50b97ba1b44a32567b8767fa09bf25914eea3ee |
| references | issue #10675 | issue #8626 | medium | ted SQL is valid; migrating the from_select case off the deprecated form (e.g. via the documented derived-table alias) seems to belong with #8626. Perhaps this one can be closed as fixed? | 442258191ff3c9cb059d2017041605161b946d2176fc45574c0afd12bb3c0d19 |
| references | issue #10544 | pr #10545 | medium | try this pr to fix https://github.com/sqlalchemy/sqlalchemy/pull/10545 | 3e9735aae1d10aeed55e137904c1f9bd9525d9e78dc227534f6432febada58b5 |
| references | issue #10527 | issue #6810 | medium | chemy-stubs` and `sqlalchemy2-stubs` are not compatible with v2) ### Verify if the api is typed - [X] The api is not in a module listed in [#6810](https://github.com/sqlalchemy/sqlalchemy/issues/6810) so it should pass type checking ### Describe the typing issue Seems that `wi... | ca892f55a8ea3033aaff2fe75b100d85688e7c668c5fd04a3159ca754a8d06f6 |
| references | issue #10351 | issue #6810 | medium | chemy-stubs` and `sqlalchemy2-stubs` are not compatible with v2) ### Verify if the api is typed - [X] The api is not in a module listed in [#6810](https://github.com/sqlalchemy/sqlalchemy/issues/6810) so it should pass type checking ### Describe the typing issue Return type `c... | febd269ba982be5754112533d6f642aad4040a0d39bc266a4eaedb789fde186f |
| references | issue #10351 | issue #6120 | medium | > though column_property() does not accept calalbles or lambdas, so still need to reduce that there was an issue for it in https://github.com/sqlalchemy/sqlalchemy/issues/6120 | 092642d30898c4a51a388cee4788856af8f73304d2191976f09152e65992762b |
| references | issue #10094 | issue #5811 | medium | I've been missing a documentation regarding testing with async, I eventually got it to what I wanted but I don't entirely understand how it works. I've read through [this discussion](https://github.com/sqlalchemy/sqlalchemy/issues/5811) and arrived at this slightly shorter ver... | 17c764e9c78ef099a9c681fa259465b3d34089012642f5fcdc4aa0e112e4157b |
| references | issue #9839 | issue #9603 | medium | ### Describe the bug We upgraded our sql alchemy version and observed a massive spike in execution time on the database. We are bulk uploading several 100k rows. We are using sql server on azure and pyodbc. We believe it relates to changes made in https://github.com/sqlalchemy... | 7e31b5a59b11bf53917b4a3bd010250dd36a2bc7ed020bcc169c90145e20b042 |
| references | issue #9839 | issue #9618 | medium | ### Describe the bug We upgraded our sql alchemy version and observed a massive spike in execution time on the database. We are bulk uploading several 100k rows. We are using sql server on azure and pyodbc. We believe it relates to changes made in https://github.com/sqlalchemy... | 0043375355e3832918f3256ccc3f7ac1ce10f88aad9b3bd511a5c6d0d1cddc57 |
| references | issue #9839 | issue #9603 | medium | he database. We are bulk uploading several 100k rows. We are using sql server on azure and pyodbc. We believe it relates to changes made in #9603 <https://github.com/sqlalchemy/sqlalchemy/issues/9603> or #9618 <https://github.com/sqlalchemy/sqlalchemy/issues/9618> which were i... | 966c7562f852a532fe7460aada50914eb4b1d12d1179c5f6a0bdc52467c759ba |
| references | issue #9839 | issue #9618 | medium | ng sql server on azure and pyodbc. We believe it relates to changes made in #9603 <https://github.com/sqlalchemy/sqlalchemy/issues/9603> or #9618 <https://github.com/sqlalchemy/sqlalchemy/issues/9618> which were implemented in 2.0.10. We are no using the ORM, but execute direc... | 8d3ad4d82c8c18fb087fda45f75cd2e3b5e480988fd71c2be1dc816ee39639ff |
| references | issue #9839 | issue #9586 | medium | faster than plain executemany, but still order of magnitude worse than fast executemany** performance. We can see this using the test from #9586, using the dataset at https://github.com/sqlalchemy/sqlalchemy/files/11130278/test_data.zip and the script below, which I've improve... | 630196046d1345f502f6005002a1dc7811442b102d5f4780a49be0abd6a40870 |
| references | issue #9839 | issue #9603 | medium | 0 rows in 0.1 seconds (17273.9 rows/s). SQLA: 2.0.15; imv=False; fast_em=True: Finished in 2.4 seconds. ``` When using 2.0.9 exactly, issue #9603 was released which **universally disabled insertmanyvalues** for SQL Server. Based on everything we know, **this means default perf... | 0fdf498e3d52c13988631ff4b24aa75f92e382bd4b8f8ab9899de07cfbde2fdf |
| references | issue #9839 | issue #9603 | medium | nsertmanyvalues" completely in version 2.0.9 of SQL Server alone. it was turned on in 2.0.8 as well as 2.0.10. the 2.0.9 shutoff was due to #9603. im not really sure how if cloud DBs have expensive round trips that plain executemany() is better, there must be some driver level... | 528fb380c65653a55798c0e7739b755d4df88a583e62926e3107f9ee1fd72fb0 |
| references | issue #9690 | issue #8285 | medium | for the column slice thing, super huge omission from #8285. needs an extra isinstance | f0b846ecb519431a598505424cbabbe2629bc8c12ed274da4a0feed8bf117e07 |
| references | issue #9587 | issue #6810 | medium | chemy-stubs` and `sqlalchemy2-stubs` are not compatible with v2) ### Verify if the api is typed - [X] The api is not in a module listed in [#6810](https://github.com/sqlalchemy/sqlalchemy/issues/6810) so it should pass type checking ### Confirm this is not Mypy dataclasses iss... | 8f0ab012bcaefbb9dcc8fde82aebd9ec9c8df0924510f8c708fbb24da29daaf5 |
| references | issue #9493 | issue #9350 | medium | We also seem to make inherit dataclasses attributes, while we probably should not. Not sure if it's connected to this other issue #9350 ```py from dataclasses import dataclass import sqlalchemy as sa import sqlalchemy.orm as sao import inspect class Base(sao.MappedAsDataclas | f8076fc7d0dcdc0caf479d2dd1902d754d6d52303e877db2ec988e937c80470e |
| references | issue #9493 | issue #9410 | medium | We also seem to make inherit dataclasses attributes, while we probably should not. Not sure if it's connected to this other issue #9350 ```py from dataclasses import dataclass import sqlalchemy as sa import sqlalchemy.orm as sao import inspect class Base(sao.MappedAsDataclass,... | 7da7fa4bf320ac783e00f5247a2ede72640cfa78056a56b13cd1bb7503731229 |
| references | issue #9410 | issue #9563 | medium | nit generated. this all comes from dataclasses, but it may be worth reiterate that 4. mention that all the dataclass limitations apply. see #9563 also 5. #9785 , back_populates / recursion issue 6. when using mixins, it is likely a good idea to use kw_only on those fields so t... | 9b6db4545aaf428753491c4e682f91aee96491313572cf0eb87e8a93c8aa9846 |
| references | issue #9410 | issue #9785 | medium | this all comes from dataclasses, but it may be worth reiterate that 4. mention that all the dataclass limitations apply. see #9563 also 5. #9785 , back_populates / recursion issue 6. when using mixins, it is likely a good idea to use kw_only on those fields so that they are no... | 5bf4fd8898c49821d0a2a9c08b01149c5a9c38bdb880b5a924ffbae32ea057c0 |
| references | issue #9410 | issue #12168 | medium | 1. relationship = None issue : #9383 , #9856 - issue created: https://github.com/sqlalchemy/sqlalchemy/issues/12168 2. declared_attr on a mixin w/ dataclasses: #9408 3. order matters regarding the default value and init generated. this all comes from dataclasses, but it may be... | ba5a0365721007562e43ce750cb449600932045425b3815e98136ca7b4eb706e |
| references | issue #9410 | issue #9350 | medium | We also seem to make inherit dataclasses attributes, while we probably should not. Not sure if it's connected to this other issue #9350 ```py from dataclasses import dataclass import sqlalchemy as sa import sqlalchemy.orm as sao import inspect class Base(sao.MappedAsDataclas | a7323bb4ce0f34aed7725f869799a299a1b3771c5a977eab22cdff1010cf0a22 |
| references | issue #9410 | issue #9785 | medium | Maybe also: - #9785 | 0f0de7c8e307a01172f3cc983bf57fea8a684f31dbd26dc48265cb7bf49606e9 |
| references | issue #9410 | issue #9785 | medium | > Maybe also: > > * [Using back_populates with MappedAsDataclass and asdict causing RecursionError #9785](https://github.com/sqlalchemy/sqlalchemy/issues/9785) sure. would be good to find if this has been reported as a dataclasses bug though | e9a7edbb51c0fbb8e7d03b064b9330f51b825c0e6c00d0b07c37b43267da66a3 |
| references | issue #9410 | issue #9785 | medium | > Maybe also: > > * [Using back_populates with MappedAsDataclass and asdict causing RecursionError #9785](https://github.com/sqlalchemy/sqlalchemy/issues/9785) added to the list in the OP | ac8450cd750d88d9ca2b2d4e7346f082fe9ed5fc80b5375bf1c4c4b0ae258393 |
| references | issue #9410 | issue #9927 | medium | #9927 I encountered this one. I am trying to use dataclass-only fields for some state things (i.e not mapped). The state variable should always b | a89a9f0c7bf2fa5fd2f9fe35d14f25d8509ac9bd2eb66bbc0989f876c87f61c7 |
| references | issue #9410 | issue #9927 | medium | > #9927 > > I encountered this one. I am trying to use dataclass-only fields for some state things (i.e not mapped). The state variable should alwa | df46103bd062da4b2463301e827b7759968c3d338d610bea7dd705a2b063e9ea |
| references | issue #9410 | issue #9930 | medium | > #9927 > > I encountered this one. I am trying to use dataclass-only fields for some state things (i.e not mapped). The state variable should always be created on object creation using the `default_factory` option. This works when creating the object and persisting, but if yo... | 6aa77c0a8b6c929cac5e67b861c4fd336fb5caba5d81075396b493391fac72fc |
| references | issue #9301 | issue #6120 | medium | I guess https://github.com/sqlalchemy/sqlalchemy/issues/6120 could help reduce the need of this. In any case it's probably best to just document the TYPE_CHECKING version | d289d65b6458f7d56065c6c4619d8fa94a00ae33e4dddd5abc0411fd02d2b1d9 |
| references | issue #9301 | issue #6120 | medium | OK, column_property() is not mapped_column(), yeah I think let's document for now. i dont know what will happen with #6120 , added some notes there. | 7e042644bd11e611ba9c18d395a6a3bc760bebc00d3e78bccf165103980a14b4 |
| references | issue #9212 | issue #9213 | medium | in the narrative docs at https://docs.sqlalchemy.org/en/20/orm/declarative_mixins.html . it just needs the `@classmethod` part discussed at #9213. I think we have actionable items on #9213 but for this one i dont see the action to take, other than maybe some more supplementary... | ae0f421cec53604dd2d04d59cd343e4561bab2d6a1d2d0e7b76ecc0127c1e1e1 |
| references | issue #9212 | issue #9213 | medium | in the narrative docs at https://docs.sqlalchemy.org/en/20/orm/declarative_mixins.html . it just needs the `@classmethod` part discussed at #9213. Yes, retrying with those changes, I've got it working. It's still not clear to me what generic type I should be using for an annot... | 6100c6531a0dae5875a8398ff5894b968f4fa0eee7b8c532e833a5147559d650 |
| references | issue #9154 | issue #8762 | medium | r pypy? at some point we had to take pypy out of the testing pipeline Yes. I have two marked as failing in 1.4.46. One of them is linked to #8762, so might have been fixed already. The other was an exception message mismatch that I probably didn't report. Unfortunately, the te... | 7d8d9ed321cb0b04e5587d49886261fd766e7e35406eb9ef4f15d323f7525427 |
| references | issue #9147 | issue #9832 | medium | the event hook here: https://github.com/sqlalchemy/sqlalchemy/blob/689ebc30dcd6b9cedf01d729f748b31826720b5c/lib/sqlalchemy/orm/decl_base.py#L567-L582 that's making a global event against Mapper. Declarative should make at most just *one* event hook against Mapper, then use its... | 2a0fb580bcb3916223f6c8a5ea029d9fa15d3ce1c00befe4b5122f8e66805010 |
| references | issue #9147 | issue #9832 | medium | not sure we really need this but in any case depends on #9832 | ab3a692c29a9dc2a749adccf5b8588fb317205c32c0216f36f322d0ae22ec6e0 |
| references | issue #9082 | issue #8889 | medium | "auto" was added in #8889. i see this issue refers to "auto". nobody anywhere is going to put "eager_defaults=False" so this is a really non-impactful issue | f6bb8a11bdf770f7b0d1d113db5a9e835ec2ab601d7ee0c8b276f3ceed437849 |
| references | issue #8992 | issue #8989 | medium | discovered during #8989, this is simply not implemented at all and the bind expression is ignored when it's an element of a tuple. Also, the impl of a TupleType() | 46c36af5913ed4eacd3c91b7bbfe671ecce76e43945986c60a3484702423ff7b |
| references | issue #8431 | issue #4340 | medium | in #4340 21fbb5e38f04affb8ac4502428672b3a629c we implemented "omit_join" behavior for the selectinload loader strategy. We currently don't have this | be4402f25acc07f124af834cc472d01f0ce93a1dab7e9b2e830cb1cdabac7701 |
| references | issue #7718 | issue #4379 | medium | scussed in https://github.com/sqlalchemy/sqlalchemy/discussions/7717 this is very trivial and I think we will be able to make use of it for #4379 in any case: ```py from sqlalchemy import Column from sqlalchemy import DateTime from sqlalchemy import MetaData from sqlalchemy im... | 2cd630fe6d98a397f5edef48e378cf59644ae84f32b281f302d6d65d94107318 |
| references | issue #7475 | issue #8574 | medium | isables the key generation. > > I guess support for this could also be something could be added while updating this issue this was fixed in #8574 | 28f4bc9847f9f7c094b5fb92c6cd8c6d06557baf9d89b1bfa8ade97a731923e4 |
| references | issue #7366 | issue #3861 | medium | ### Describe the bug I'm getting duplicated index objects in the `MetaData` when using `DeferredReflection`. I think a similar issue might've been fixed in https://github.com/sqlalchemy/sqlalchemy/issues/3861. Similar problem has been reported in https://stackoverflow.com/ques... | 2e7d032f1638d66b0e7cdc29f6cb343737dff5fb8f2c4642346db74f964741b3 |
| references | issue #7366 | issue #8925 | medium | what this issue is about, this issue is about constraints which are a totally different story. the extend_existing not deduping on name is #8925. | 78927e68ee67bcd9d85b529707d67f214e0655e0acdeeffb040c0255cc7bf03d |
| references | issue #7223 | issue #7212 | medium | Interval is an emulated type, that also subclasses `TypeDecorator`: https://github.com/sqlalchemy/sqlalchemy/blob/7f8bf038b753d3f250e0e974102c16037d1aea5d/lib/sqlalchemy/sql/sqltypes.py#L2026 This is different from the other emulated types, like Boolean and Enum, so for v2 it... | 2a739c8ae6f9847b9cc92bcc42c8b20336391c2f99a707dfa83a85e5d17738cd |
| references | issue #7113 | issue #4797 | medium | i mean also, "with_hint()" is badly named. "with_table_criteria()" is a better name _Originally posted by @zzzeek in https://github.com/sqlalchemy/sqlalchemy/issues/4797#issuecomment-930432024_ perhaps we can generalize with_hint() into with_table_criteria() and then introduce... | 50e63eb4d468685fec040fcaa2af270b82315d792dcc6482f0724f6a049322eb |
| references | issue #7113 | issue #4797 | medium | "hints" like indexing hints. other kinds of per-table constructs are placed differently, such as the for_system_time() we are looking at in #4797. So where with_hint() sends these three indicators of intent: * subject table * text that is to be treated like an indexing hint or... | 89e934eead9c2694cb06fab9d5a4e9b1bb65448b5a42b79e2d873a19a103639f |
| references | issue #7113 | issue #6040 | medium | this is related to #6040 as well and this could supersede it (that is, we wouldnt' have to do #6040 as written, with_hint would stay the same). i dont necessarily w | 56d7ce3c7e84b5ce242d91706255611b6310561f64f25f363a8fbe7b80141570 |
| references | issue #7035 | pr #7009 | medium | Follow up from the discussion is https://github.com/sqlalchemy/sqlalchemy/pull/7009 | b8edf9fc581ea46cec663713f306e2a7bef10a64f63cef291b15e447a94c85b7 |
| references | issue #6997 | issue #6550 | medium | yeah it's #6550 and the line that makes this test case "work" is to reintroduce a clear bug: ```py diff --git a/lib/sqlalchemy/sql/elements.py b/lib/sqlalc | 3f8a2010611d5690759e89811881bce5dabdbe359ee47438b15f4dc1d5d54ff4 |
| references | issue #6810 | issue #7519 | medium | related issues: #7535 #7519 #7562 #7555 | a94817bcb124b28ea4a4cb3f9602542f33c5358e01bbee372e0507b6416d0e63 |
| references | issue #6810 | issue #7535 | medium | related issues: #7535 #7519 #7562 #7555 | d4aaebc5c78c4a4b079f6de04e8d2ec772f842bc827838aecc742bfbb7f1f8d4 |
| references | issue #6810 | issue #7555 | medium | related issues: #7535 #7519 #7562 #7555 | 86a8c38658bfe444b962d2f4fc6d64ed3732aa4a908bf0648049d1b015d09405 |
| references | issue #6810 | issue #7562 | medium | related issues: #7535 #7519 #7562 #7555 | 6745f63f6542c2f5a3f4a02a547444ae9bdc3eb2d982a0b3f8d8cced22af3d0a |
| references | issue #6810 | issue #7774 | medium | ensure assocaition proxy collection implement typing.List/Set/Dict, see #7774 | f9df48673284f4383ff4a733920118d8d97a587b346e89c872f38fe3ed900bd2 |
| references | issue #6810 | pr #12384 | medium | I started to work on the `postgresql` dialect, first PR https://github.com/sqlalchemy/sqlalchemy/pull/12384 about the `array` module. | f6ac59568cc3c2c9f51ff0c63f889bdaa2048955b40a374c358e7a5434c2b6d3 |
| references | issue #6810 | pr #12707 | medium | Hi @CaselIT, When you have a moment, could you please review my [PR for `sqlalchemy.sql.base`](https://github.com/sqlalchemy/sqlalchemy/pull/12707)? Once it's acknowledged, I’d like to plan follow-up typing contributions for another untyped module( [`sqlalchemy.sql.crud`](http... | ac0bc5840d337138bb5f3e8e1afc380e5ea1e5f43025253a6c0bdff304180daf |
| references | issue #6810 | pr #12759 | medium | Hi @zzzeek, @CaselIT Sorry to interrupt, but I’ve run into a typing-related question while working on the compiler module. I’ve opened a **temporary PR** to explain the issue and provide context: **Temp PR:** https://github.com/sqlalchemy/sqlalchemy/pull/12759 Would appreciate... | 20604fad3923d47bc94c818a11be233a515589bba4611ae0d1a92bb812ad0415 |
| references | issue #6612 | issue #5256 | medium | Hi, I remembered asking a similar question. Here it is: https://github.com/sqlalchemy/sqlalchemy/issues/5256 tldr: you can use `.self_group()` | 4f25441a9414f48a6ae7ca3c7cc1804700050c6f2c03aa5e4efbd23ccd552cb5 |
| references | issue #6612 | issue #3566 | medium | nks, I did not find the existing issue via search, but maybe my search terms were inadequate. Since your issue was closed to be tracked in, #3566, which in turn is marked resolved, should we keep one open as use case? Other than that, feel free to close. | bb574eebf4accfee90b97bac6bb48ffb38baa12807e20f718e164c6345d76a1a |
| references | issue #6612 | issue #3566 | medium | s, I did not find the existing issue via search, but maybe my search terms were inadequate. > Since your issue was closed to be tracked in, #3566, which in turn is marked resolved, should we keep one open as use case? Other than that, feel free to close. Don't worry, searching... | 98cea930c0dfe68467daf5ad430f7875f62fc2e83b94b62c2d2fa91c7b0cdd3f |
| references | issue #6612 | issue #3566 | medium | in #3566 it wasn't that clear to me what was going on but in this case I'd want to see if row valued types can signal to the compiler and/or express | 200739e1b639c2e2377c8975f2819b84d36089fe843b5a9bbbd95b792c2cad6c |
| references | issue #6612 | issue #5256 | medium | this is an example: https://github.com/sqlalchemy/sqlalchemy/issues/5256#issue-600623503 ```sql select * from some_table where some_table is not null ``` vs ```sql select * from some_table where not (some_table is null) ``` the return values is different if a row has all null... | aba04a72b7065614496b4568f6e340647dd8eb931de59224bc70545e4d7db692 |
| references | issue #6511 | pr #12510 | medium | In https://github.com/sqlalchemy/sqlalchemy/pull/12510, I am proposing to an implementation for PostgreSQL. On SQLite, AFAICT, this does not seem possible as the `table_info` or `table_xinfo` pragmas apparently do not return the collation information. (On other backends, I don... | 7612279ea163b2a36aa13bc4d5aedb5dbcdb37a7858195b36a2f873188688fc1 |
| references | issue #6489 | issue #3357 | medium | as discussed at #3357, an additional execution option `dbapi_autocommit=True` that sets autocommit independently of setting an explicit isolation level would be | 8ff3c555b9f2423a7d9baa5842fc200942813615af74e0c9cbc5377c84d03cc3 |
| references | issue #6120 | issue #3050 | medium | I originally wanted to do this in #3050, which got marked as a dupe of #3150, which allowed column_property to work with declared_attr, however, never added the lambda part of it. | d6043b3c5e5eb760d2d1e5e5dda8c0f1e069480dcce8d9be6c35e88ae11d9bc8 |
| references | issue #6120 | issue #3150 | medium | I originally wanted to do this in #3050, which got marked as a dupe of #3150, which allowed column_property to work with declared_attr, however, never added the lambda part of it. there was some reason that using lam | 4ef91175f586af8fc0706eb90b25acc883b7b3a6c4c0732fe8319acf5aad08e7 |
| references | issue #5583 | issue #5578 | medium | From Mike: this is not a v2 thing, this is all a right now thing. 1. all backends should be raising an error when a user behavioral intent that cannot be fulfilled is received by a dialect, so first off, the for_update_clause() in compiler.py should be looking at all of these... | 43b337203449b6ffcbeeebd4140b0bc78a9429f3b5a59e9619566b4600bba140 |
| references | issue #5352 | issue #4250 | medium | ` operator is supported in SQLAlchemy. So the statement `SELECT ~a.flag AS anon_1 FROM a` works and gives correct results. I've come across #4250 which seems related. ```py from sqlalchemy import * from sqlalchemy.orm import * from sqlalchemy.ext.declarative import declarative... | e52020d3fd0708eec18c9105a092d01b85cc7a4c85337b5ebff365ad86f645db |
| references | issue #5352 | issue #4250 | medium | hi there - how interesting that the exact test case from #4250 is still failing though I would assume in a different way from what was fixed there. this limitation has more to do with SQL Server not bei | d0e0973f42a5107dc8c1bd251d3913dab08f08188b55087c50723927b116baaa |
| references | issue #5350 | issue #3989 | medium | I've read https://github.com/sqlalchemy/sqlalchemy/issues/3989 but this seems unrelated. When defining a `ForeignKey` on a SQLAlchemy model, if the referenced column is given as a string (`{table_name}.{column_name}`) and the `Base.metadata` has been setup with a naming conven... | 5972bb2c571f399892edd00a843c01f3f22162699af8e979c1f0899e29f2f791 |
| references | issue #5350 | issue #7706 | medium | the `ForeignKeyConstraint` separately via `__table_args__` works like a charm. I'd note that, when I saw this, I though that it could solve #7706. But, I still get `NoReferencedTableError`, so I assume there is in fact no way to use `referred_column`, unless you construct all... | 52d7a18a4228166359944e7023eed67c299308d5d51a325e6bcb901fb83aec8d |
| references | issue #5123 | issue #3692 | medium | I have a `Session` model with a `hash` column of the `Binary` type, and a `User` model with a relationship of `sessions`. If I get attributes through `inspect(user).attrs`, calling `attr.load_history()` on the `sessions` attribute will cause this [string argument without an en... | 47cd105d237e37c61dd3ffa204d22a8f68fa72f6f11762693b11b689346dee08 |
| references | issue #5005 | issue #5068 | medium | suspect #5068 is seeing the same thing, although in that issue the warning call is being emitted incorrectly as this warning has failed to be part of tes | 2a2e20c4f9f7580148f1cb76e4c0a376eedf9fb27f03d07d6b380a3a676dfc9d |
| references | issue #4790 | issue #4784 | medium | There are a handful of messages that could be improved. 1. `sqlalchemy.exc.InvalidRequestError: Naming convention including %(constraint_name)s token requires that constraint is explicitly named.` This doesn't give much of a context. Suggestion for improvement: Extend message... | b9ac29948f155235dbd3ff38cdc1712dbae235a24e0d2cd7c0e70ea745e57177 |
| references | issue #4790 | issue #4784 | medium | ok, here we go again... > for 2, when does it raise that error? This was an edge-case you discovered in this comment- https://github.com/sqlalchemy/sqlalchemy/issues/4784#issuecomment-516582228 > I don't understand the extra context you are adding in 1. wouldn't they want to k... | 80cc2c0f3542e192c1c89a8f6faf604ce69e95399ef910f26e254e54d480c48b |
| closes | issue #4790 | issue #4784 | high | **jonathan vanasco** has proposed a fix for this issue in the **master** branch: **Fixes #4784 regarding constraints:** https://gerrit.sqlalchemy.org/c/sqlalchemy/sqlalchemy/+/2224 | a3a655fd2257ef94dd89fad84f4ea7da479ff9bd0fa823f2bb9d8b2e14205148 |
| references | issue #4784 | issue #5151 | medium | Note: perhaps use the enum listener example in #5151 | 4755062d1415cf09bb4263b99b28d7ab58c9a0be01916ef7c506960fbe3ba1a4 |
| references | issue #4652 | issue #3155 | medium | for [Column](https://docs.sqlalchemy.org/en/13/core/metadata.html#sqlalchemy.schema.Column.params.server_default) and a couple issues here (#3155,#3444), it's still unclear how to "correctly" include an explicit "ON UPDATE" clause. The only solution I have come to so far was s... | 7091d0690f411f24f8b11e545157d276113f15ec5899800865ca62804a5f736f |
| references | issue #4652 | issue #3444 | medium | olumn](https://docs.sqlalchemy.org/en/13/core/metadata.html#sqlalchemy.schema.Column.params.server_default) and a couple issues here (#3155,#3444), it's still unclear how to "correctly" include an explicit "ON UPDATE" clause. The only solution I have come to so far was specifi... | b2fae7f6d189d6d3ac05440064fbc7b073e638a9420417585a3b72fa6ece71db |
| references | issue #4652 | issue #3155 | medium | for [Column](https://docs.sqlalchemy.org/en/13/core/metadata.html#sqlalchemy.schema.Column.params.server_default) and a couple issues here (#3155,#3444), it's still unclear how to "correctly" include an explicit "ON UPDATE" clause. > > The only solution I have come to so far w... | 2c508532add8eb8a6b9cb8419b946c56a1574b51cd1626ed76e6f8f586d4f43e |
| references | issue #4652 | issue #3444 | medium | olumn](https://docs.sqlalchemy.org/en/13/core/metadata.html#sqlalchemy.schema.Column.params.server_default) and a couple issues here (#3155,#3444), it's still unclear how to "correctly" include an explicit "ON UPDATE" clause. > > The only solution I have come to so far was spe... | f563149d0f6cbe61e526f83bcbbaca7ab4a92bab767e75b39283f5f169345a5b |
| references | issue #4641 | issue #4640 | medium | with #4640 we are going to start adding mapper flags that folks will want to be able to apply across the board. so to make this easier without the nee | f4a03b391bcfc9c72613f3f90008d3099b0c5c43d6308a90b7dcdbce1c6dbd3b |
| references | issue #4567 | issue #4360 | medium | to be ignored on the table slippy_tiles but nothing seems to take when creating the schema from ORM, even though it is supposedly fixed in #4360 I've tried renaming the kwarg in the column definitions to sqlite_on_conflict_primary_key, sqlite_on_conflict, on_conflict, editing... | c9f080d74242225e224317e71bbae1dff8e8de902467705e1acec704a5d69495 |
| references | issue #4289 | issue #3989 | medium | **Michael Bayer ([@zzzeek](https://github.com/zzzeek)) wrote:** note in #3989 we don't truncate naming conventions for things other than indexes. | 2a2ff5f4f2087393917aca91e4535d41da63cec84bb0ac58c350cdad1f4d259f |
| references | issue #1063 | issue #3990 | medium | **Michael Bayer ([@zzzeek](https://github.com/zzzeek)) wrote:** Issue #3990 was marked as a duplicate of this issue. | 5c17de2e384aa534011ab01aab6e73b9be174822a285c21303f68440e83d287b |
| references | issue #1063 | issue #3496 | medium | **Michael Bayer ([@zzzeek](https://github.com/zzzeek)) wrote:** as tihs would also fix #3496 I'm motivated to work on this, but I'm struggling. https://gerrit.sqlalchemy.org/427 | 1f896a059c727a29e8fb06cc21f10cc6d37f3bd0ce9a926417b8152a8c1208a0 |
| references | issue #12730 | issue #6810 | medium | chemy-stubs` and `sqlalchemy2-stubs` are not compatible with v2) ### Verify if the api is typed - [x] The api is not in a module listed in [#6810](https://github.com/sqlalchemy/sqlalchemy/issues/6810) so it should pass type checking ### Describe the typing issue When passing m... | 3842d0eec177fae874259fa4e9ea3e33a879e328b11d034e013224deadda18ad |
| references | issue #9618 | issue #9603 | medium | ne in https://gerrit.sqlalchemy.org/c/sqlalchemy/sqlalchemy/+/4548. Among other things this will be a real solution to the problem faced at #9603 and will also be a hedge against any other database where we can't guarantee INSERT ordering. for use_insertmanyvalues, it then bec... | 275bc98ada6d49989345e61ebf9f2d01d61290bb1a826bbaaad6ec6f9492c7ec |
| references | issue #9618 | issue #9603 | medium | ning(table)", something like that 4. limit the use of insertmanyvalues **just in the unit of work**. after all that was the issue we had in #9603 | 09c040e81bdeaca0358effa59681e4df6040d3c0b8da7be8a8736504a8ccbb45 |
| references | issue #9618 | issue #9603 | medium | y, meaning if that order is off, any situation where those objects have further collections on them we'd be seeing the issue like we see in #9603. That's tens of millions of downloads per month where we would assume applications have tolerated concurrent VACUUMs and things lik... | b283236773c64ef1bd5167c56f142f85e7a8327de35e52c6b99be54049ade30d |
| references | issue #9603 | issue #9618 | medium | doing a lot of thinking over at #9618. I think we can definitely restore MS-SQLs "insertmanyvalues" feature as long as we dont use it in the unit of work to match up primary key | 8f2b5ac1afb6546a0cb8a56a1face423d713f2570269c2c95a9e327b810240ba |
| references | issue #9563 | issue #9410 | medium | s or similar dataclass limitations gets reported, so maybe people are not that familiar with them? In any case i've mentioned this issue in #9410 regarding re-raise we can decide later, since it's easy to add, not that easy to remove | a87dfd77e9c7ebeb1cbccc83ff4fdbf9ea394e9b70f9e682effbc302a3ff2f44 |
| references | issue #7774 | issue #6810 | medium | otation to an association proxy in all cases. whether or not associationproxy accommodates `Mapped[]` right now will be resolved as part of #6810, you can use a cast() in the interim: ```py from sqlalchemy.orm import Mapped class Parent(Base): __tablename__ = "parent" id = Col... | d91ccb3c45294a659d2db985ac618146ffca9ff9b3821c260d12aa0dcc093cf5 |
| references | issue #7774 | issue #6810 | medium | erialization. Here you're looking for AssocaitionList/set/dict to implement the appropriate typing collection. This will be done as part of #6810 in 2.0. | 31dd4ed3777db58146ebd086102cdbfaae9967c91b5624762c575ca5a1c24133 |
| references | issue #7774 | issue #6810 | medium | Hey, i'm not if this is the correct ticket to place this, so please tell me if not. According to https://github.com/sqlalchemy/sqlalchemy/issues/6810, the association_proxy (so probably also the AssociationList) is already fully typed. But in this case, shouldn't `tags` be suc... | 09fe6be2119eee9006741ec26ab30e864b1409e458d87a33a575401cb4a0af93 |
| references | issue #7706 | issue #5350 | medium | Ah sorry, I guess this may be a duplicate of #5350 | 82c1a816e027b666cc3b204fc6caf30893bf626d36bce2e7b80651255ace6baa |
| references | issue #7659 | pr #8136 | medium | Alright, started a draft PR here for discussion https://github.com/sqlalchemy/sqlalchemy/pull/8136 | 21d30cde20323ca02f40a17cb515a18a41b017ee4a6bab4b1910329b697deeb3 |
| references | issue #5578 | issue #5583 | medium | Thanks for the great explanation mike. I've taken the liberty of creating a new issue to track this. See https://github.com/sqlalchemy/sqlalchemy/issues/5583 | ef8f51719f405bfe5f711673830d9ee64ddf66ae430560b98189c25592d325ea |
| references | issue #5256 | issue #3566 | medium | -comparison.html after the tip note. just FYI there's a ton of PG stuff that we don't have built in right now that are along this line, see #3566 . if you want to work on this stuff it's definitely leveling up but 1.4 should be getting very good at this stuff by now :) > > Als... | 97660fc0b5c1e24698abdcd0de4b9acbf303260b77d379aa7908a023d6636e70 |
| references | issue #5256 | issue #3566 | medium | I want to ultiamtely do everything here and in #3566. this comes up all the time. it's just if it is done quickly without consdiering PG's syntactical concepts in total, we can paint ourselves | ae21bcd22215bc615a552e5650f90f51159ea476e1726896d7873c6fb008874d |
| references | issue #5256 | issue #3566 | medium | Added a comment in #3566. This can be closed, so we can track all the missing pg behaviors from a single place | 3dd4c09ac674e5ebeb1966793bea320cea8059b0304dbcc81afb95cba8c6218b |
| references | issue #5068 | issue #5005 | medium | hen UPDATE if "supports_sane_rowcount" is set to **True** Hi can you define "failed" please? Are you getting the same error as described in #5005 ? > In fact, it is common to disable "supports_sane_rowcount" as a workaround for `pyodbc` and `Microsoft ODBC Driver` does not sup... | 783bd19817db559cf44997e51a84a79c0418f8134675a253c04f3c4ef4d24b1f |
| references | issue #4797 | issue #6040 | medium | ere, which would be pretty weird. The "hint text" should be possible that it is a compiled object, not just a string and that is missing os #6040 is added. | 594f606bb1fa02fc0420bbd62bf368ea2661ec500b0b08968d61b562db5f4cae |