Rasmus Wriedt Larsen
2896741d56
Python: auto model
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
3a1a8ad4fc
Python: Enable auto-model for Django Model
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
93eabd9ce8
Python: auto model
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
61689c8de3
Python: auto model
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
a15af39007
Python: Enable auto-model for cgi.FieldStorage
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
50ec22bf4e
Python: auto model
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
79fa277862
Python: auto model
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
0932471e07
Python: auto model
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
bc1fdb0aab
Python: More import fixes
...
:thinkies: turns out that .getASubclass*() had to be applied everywhere...
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
06fbab9e15
Python: More auto-modeling
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
ef6113c45c
Python: Enable auto-model BaseHttpRequestHandler
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
b4c4fe102f
Python: Improve auto-model from better import alias handling
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
1922a1f41c
Python: Improve SelfRefMixin
...
This is important to model mixins correctly, for example when they help
handle incoming requests, and therefore need to know that `self.kwargs`
contains data controlled by a user.
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
9fe02edf9a
Python: Allow any results.bqrs file
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
7633d0e71a
Python: Improve import * handling
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
e55acb8918
Python: More automatic modeling
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
7949403bd8
Python: Automodel for WSGIServer
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
a23fe366a1
Python: Automodel for tornado
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
3cf86ee6ce
Python: Make Django use auto-modeling
...
Ooops
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
6232fa1a5f
Python: Remove manual MaD modeling
...
Everything is covered now 👍
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
cd50fd5b62
Python: Add more auto-generated models
...
This time using old set of projects
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
d4acc704a4
Python: Sort MaD rows
...
(makes future diffing much easier)
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
fd7de0ee92
FIXME already fixed
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
c76bd71a3c
Python: Add manual modeling still missing from auto modeling
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
fa6f2a1f09
Python: Add auto-modeling from current venv in MRVA top 1000 projects
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
8121debbd7
Python: Add script to process results from MRVA (bqrs files)
...
Also makes `empty.model.yml` empty once again
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
bef7eccbf1
Python: Remove query predicate annotation
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
afc00567f0
Python: Add query metadata
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
4d69cb33eb
Python: Streamline what modules to allow for now
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
6a3f1270ea
Python: Adjust test-code predicate
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
88eb91aa70
Python: Improve docs/names around already modeled classes
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
a6a09b4a7a
WIP rest of modeling done so far
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
7d6d9a7420
WIP: Flask View class modeling for restplus
...
Based on some DBs I had that contained dependencies
2023-11-13 13:55:57 +01:00
github-actions[bot]
4641990021
Release preparation for version 2.15.2
2023-10-30 11:05:53 +00:00
yoff
867a39083e
Merge pull request #14114 from yoff/python/allow-namespace-packages
...
Python: Allow namespace packages
2023-10-26 16:56:05 +02:00
Rasmus Lerchedahl Petersen
dcc778520a
Python: refactor code
...
Also add explanatory comment.
Co-authored-by: Taus <tausbn@github.com >
2023-10-26 15:00:02 +02:00
Rasmus Lerchedahl Petersen
50041f07a3
Python: fix comment
2023-10-26 14:28:00 +02:00
Dave Bartolomeo
712f7758cf
Merge branch 'main' into post-release-prep/codeql-cli-2.15.1
2023-10-19 12:14:07 -04:00
github-actions[bot]
8dcd8b9e5b
Post-release preparation for codeql-cli-2.15.1
2023-10-17 20:24:00 +00:00
Rasmus Wriedt Larsen
80506f1028
Python: Accept .expected changes
2023-10-17 10:11:39 +02:00
Rasmus Wriedt Larsen
62a992473f
Python: Update QLDoc
2023-10-17 10:09:19 +02:00
Rasmus Wriedt Larsen
2bf4c32433
Python: Add syntactic support for yield in contextlib.contextmanager
2023-10-17 09:51:20 +02:00
Rasmus Wriedt Larsen
2399793c8a
Python: Expand contextmanager test even more
2023-10-17 09:41:30 +02:00
github-actions[bot]
3b3c036626
Release preparation for version 2.15.1
2023-10-16 17:49:39 +00:00
Rasmus Wriedt Larsen
883bd9f3b3
Python: Add test for type-tracking with yield
2023-10-16 12:09:07 +02:00
Henry Mercer
1a370bfbbe
Merge pull request #14443 from github/post-release-prep/codeql-cli-2.15.0
...
Post-release preparation for codeql-cli-2.15.0
2023-10-11 17:39:04 +01:00
Rasmus Lerchedahl Petersen
a4117538ab
Python: update test expectations
...
This update looks different locally for me,
so this is slightly sketchy..
2023-10-11 16:31:56 +02:00
github-actions[bot]
ae6af17c74
Post-release preparation for codeql-cli-2.15.0
2023-10-11 14:19:20 +00:00
Rasmus Wriedt Larsen
68d00a829e
Merge pull request #14430 from RasmusWL/api-graph-import-star
...
Python: Better allow `import *` to work with API graphs
2023-10-11 10:03:46 +02:00
Rasmus Wriedt Larsen
ee75b104eb
Python: Add change-note
2023-10-10 17:45:11 +02:00