Skip to content

Commit 866e615

Browse files
committed
Python: Add PyPI links in qldocs
1 parent 02a97b0 commit 866e615

File tree

3 files changed

+25
-7
lines changed

3 files changed

+25
-7
lines changed

python/ql/lib/semmle/python/frameworks/Httpx.qll

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
/**
22
* Provides classes modeling security-relevant aspects of the `httpx` PyPI package.
3-
* See https://www.python-httpx.org/
3+
*
4+
* See
5+
* - https://pypi.org/project/httpx/
6+
* - https://www.python-httpx.org/
47
*/
58

69
private import python
@@ -9,7 +12,10 @@ private import semmle.python.ApiGraphs
912

1013
/**
1114
* Provides models for the `httpx` PyPI package.
12-
* see https://www.python-httpx.org/
15+
*
16+
* See
17+
* - https://pypi.org/project/httpx/
18+
* - https://www.python-httpx.org/
1319
*/
1420
private module HttpxModel {
1521
private class RequestCall extends HTTP::Client::Request::Range, DataFlow::CallCfgNode {

python/ql/lib/semmle/python/frameworks/Libtaxii.qll

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
/**
22
* Provides classes modeling security-relevant aspects of the `libtaxii` PyPI package.
3-
* See https://github.com/TAXIIProject/libtaxii
3+
*
4+
* See
5+
* - https://pypi.org/project/libtaxii/
6+
* - https://github.com/TAXIIProject/libtaxii
47
*/
58

69
private import python
@@ -9,7 +12,10 @@ private import semmle.python.ApiGraphs
912

1013
/**
1114
* Provides models for the `libtaxii` PyPI package.
12-
* see https://github.com/TAXIIProject/libtaxii
15+
*
16+
* See
17+
* - https://pypi.org/project/libtaxii/
18+
* - https://github.com/TAXIIProject/libtaxii
1319
*/
1420
private module Libtaxii {
1521
/**

python/ql/lib/semmle/python/frameworks/Pycurl.qll

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
/**
22
* Provides classes modeling security-relevant aspects of the `pycurl` PyPI package.
3-
* See https://pycurl.io/docs/latest/
3+
*
4+
* See
5+
* - https://pypi.org/project/pycurl/
6+
* - https://pycurl.io/docs/latest/
47
*/
58

69
private import python
@@ -9,7 +12,10 @@ private import semmle.python.ApiGraphs
912

1013
/**
1114
* Provides models for the `pycurl` PyPI package.
12-
* see https://pycurl.io/docs/latest/
15+
*
16+
* See
17+
* - https://pypi.org/project/pycurl/
18+
* - https://pycurl.io/docs/latest/
1319
*/
1420
private module Pycurl {
1521
/**
@@ -28,7 +34,7 @@ private module Pycurl {
2834
* When the first parameter value of the `setopt` function is set to `pycurl.URL`,
2935
* the second parameter value is the request resource link.
3036
*
31-
* See https://pycurl.io/docs/latest/curl.html#set_option.
37+
* See http://pycurl.io/docs/latest/curlobject.html#pycurl.Curl.setopt.
3238
*/
3339
private class OutgoingRequestCall extends HTTP::Client::Request::Range, DataFlow::CallCfgNode {
3440
OutgoingRequestCall() {

0 commit comments

Comments
 (0)