Python: Add PyPI links in qldocs

This commit is contained in:
Rasmus Wriedt Larsen
2022-03-04 11:40:03 +01:00
parent 02a97b08bb
commit 866e615689
3 changed files with 25 additions and 7 deletions

View File

@@ -1,6 +1,9 @@
/**
* Provides classes modeling security-relevant aspects of the `httpx` PyPI package.
* See https://www.python-httpx.org/
*
* See
* - https://pypi.org/project/httpx/
* - https://www.python-httpx.org/
*/
private import python
@@ -9,7 +12,10 @@ private import semmle.python.ApiGraphs
/**
* Provides models for the `httpx` PyPI package.
* see https://www.python-httpx.org/
*
* See
* - https://pypi.org/project/httpx/
* - https://www.python-httpx.org/
*/
private module HttpxModel {
private class RequestCall extends HTTP::Client::Request::Range, DataFlow::CallCfgNode {

View File

@@ -1,6 +1,9 @@
/**
* Provides classes modeling security-relevant aspects of the `libtaxii` PyPI package.
* See https://github.com/TAXIIProject/libtaxii
*
* See
* - https://pypi.org/project/libtaxii/
* - https://github.com/TAXIIProject/libtaxii
*/
private import python
@@ -9,7 +12,10 @@ private import semmle.python.ApiGraphs
/**
* Provides models for the `libtaxii` PyPI package.
* see https://github.com/TAXIIProject/libtaxii
*
* See
* - https://pypi.org/project/libtaxii/
* - https://github.com/TAXIIProject/libtaxii
*/
private module Libtaxii {
/**

View File

@@ -1,6 +1,9 @@
/**
* Provides classes modeling security-relevant aspects of the `pycurl` PyPI package.
* See https://pycurl.io/docs/latest/
*
* See
* - https://pypi.org/project/pycurl/
* - https://pycurl.io/docs/latest/
*/
private import python
@@ -9,7 +12,10 @@ private import semmle.python.ApiGraphs
/**
* Provides models for the `pycurl` PyPI package.
* see https://pycurl.io/docs/latest/
*
* See
* - https://pypi.org/project/pycurl/
* - https://pycurl.io/docs/latest/
*/
private module Pycurl {
/**
@@ -28,7 +34,7 @@ private module Pycurl {
* When the first parameter value of the `setopt` function is set to `pycurl.URL`,
* the second parameter value is the request resource link.
*
* See https://pycurl.io/docs/latest/curl.html#set_option.
* See http://pycurl.io/docs/latest/curlobject.html#pycurl.Curl.setopt.
*/
private class OutgoingRequestCall extends HTTP::Client::Request::Range, DataFlow::CallCfgNode {
OutgoingRequestCall() {