Skip to content

Commit 7847110

Browse files
committed
chore: markdown linter
1 parent 0e2040a commit 7847110

File tree

4 files changed

+14
-85
lines changed

4 files changed

+14
-85
lines changed

docs/development-guide/DevelopmentGuide.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ The AWS Advanced Python Driver uses the following tests to verify its correctnes
2626

2727
The AWS Advanced Python Driver has the following tests to verify its performance:
2828

29-
| Tests | Description |
30-
|--------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
31-
| Connection plugin manager benchmarks | The [benchmarks](../../benchmarks/README.md) subproject measures the overhead from executing Python method calls with multiple connection plugins enabled. |
32-
| Manually-triggered performance tests | The [failover plugin performance tests](../../tests/integration/container/test_failover_performance.py) and [enhanced failure monitoring performance tests](../..tests/integration/container/test_read_write_splitting_performance.py) measure the plugins' performance under different configurations |
29+
| Tests | Description |
30+
|--------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
31+
| Connection plugin manager benchmarks | The [benchmarks](../../benchmarks/README.md) subproject measures the overhead from executing Python method calls with multiple connection plugins enabled. |
32+
| Manually-triggered performance tests | The [failover plugin performance tests](../../tests/integration/container/test_failover_performance.py) and [enhanced failure monitoring performance tests](../../tests/integration/container/test_read_write_splitting_performance.py) measure the plugins' performance under different configurations |
3333

3434
### Running the Tests
3535

docs/development-guide/LoadablePlugins.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,29 +26,29 @@ A short example of these steps is provided [below](#Example).
2626

2727
### Creating Custom Plugins
2828

29-
To create a custom plugin, create a new class that extends the [Plugin](/aws_advanced_python_wrapper/plugin.py) class.
29+
To create a custom plugin, create a new class that extends the [Plugin](../../aws_advanced_python_wrapper/plugin.py) class.
3030

3131
The `Plugin` class provides a simple implementation for all `Plugin` methods. By default, requested Python database methods will be called without additional operations. This is helpful when the custom plugin only needs to override one (or a few) methods from the `Plugin` interface.
3232
See the following classes for examples:
3333

34-
- [IamAuthPlugin](/aws_advanced_python_wrapper/iam_plugin.py)
34+
- [IamAuthPlugin](../../aws_advanced_python_wrapper/iam_plugin.py)
3535
- The `IamAuthPlugin` class only overrides the `connect` method because the plugin is only concerned with creating
3636
database connections with IAM database credentials.
3737

38-
- [ExecuteTimePlugin](/aws_advanced_python_wrapper/execute_time_plugin.py)
38+
- [ExecuteTimePlugin](../../aws_advanced_python_wrapper/execute_time_plugin.py)
3939
- The `ExecuteTimePlugin` only overrides the `execute` method because it is only concerned with elapsed time during execution. It does not establish new connections or set up any host list provider.
4040

41-
A `PluginFactory` implementation is also required for the new custom plugin. This factory class is used to register and initialize custom plugins. See [ExecuteTimePluginFactory](/aws_advanced_python_wrapper/execute_time_plugin.py) for a simple implementation example.
41+
A `PluginFactory` implementation is also required for the new custom plugin. This factory class is used to register and initialize custom plugins. See [ExecuteTimePluginFactory](../../aws_advanced_python_wrapper/execute_time_plugin.py) for a simple implementation example.
4242

4343
### Subscribed Methods
4444

45-
When executing a Python method, the plugin manager will only call a specific plugin method if the Python method is within its set of subscribed methods. For example, the [ReadWriteSplittingPlugin](/aws_advanced_python_wrapper/read_write_splitting_plugin.py) subscribes to Python methods and setters that change the read-only value of the connection, but does not subscribe to other common `Connection` or `Cursor` methods. Consequently, this plugin will not be triggered by method calls like `Connection.commit` or `Cursor.execute`.
45+
When executing a Python method, the plugin manager will only call a specific plugin method if the Python method is within its set of subscribed methods. For example, the [ReadWriteSplittingPlugin](../../aws_advanced_python_wrapper/read_write_splitting_plugin.py) subscribes to Python methods and setters that change the read-only value of the connection, but does not subscribe to other common `Connection` or `Cursor` methods. Consequently, this plugin will not be triggered by method calls like `Connection.commit` or `Cursor.execute`.
4646

4747
The `subscribed_methods` attribute specifies the set of Python methods that a plugin is subscribed to in the form of a set of strings (`Set[str]`). All plugins must implement/define the `subscribed_methods` attribute.
4848

4949
Plugins can subscribe to any of the standard PEP249 [Connection methods](https://peps.python.org/pep-0249/#connection-methods) or [Cursor methods](https://peps.python.org/pep-0249/#cursor-methods). They can also subscribe to the target driver methods listed in the corresponding driver dialect's `_network_bound_methods` attribute:
50-
- [Postgres network bound methods](/aws_advanced_python_wrapper/pg_driver_dialect.py)
51-
- [MySQL network bound methods](/aws_advanced_python_wrapper/mysql_driver_dialect.py)
50+
- [Postgres network bound methods](../../aws_advanced_python_wrapper/pg_driver_dialect.py)
51+
- [MySQL network bound methods](../../aws_advanced_python_wrapper/mysql_driver_dialect.py)
5252

5353
Plugins can also subscribe to specific [pipelines](./Pipelines.md) by including the subscription key in their `subscribed_methods` attribute and implementing the equivalent pipeline method:
5454

docs/using-the-python-driver/SupportForRDSMultiAzDBCluster.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ We have created many examples in the [examples](../examples) folder demonstratin
6161

6262
The following plugins have been tested and confirmed to work with Amazon RDS Multi-AZ DB Clusters:
6363

64-
* [Aurora Connection Tracker Plugin](/docs/using-the-python-driver/using-plugins/UsingTheAuroraConnectionTrackerPlugin.md)
65-
* [Failover Connection Plugin](/docs/using-the-python-driver/using-plugins/UsingTheFailoverPlugin.md)
66-
* [Host Monitoring Connection Plugin](/docs/using-the-python-driver/using-plugins/UsingTheHostMonitoringPlugin.md)
64+
* [Aurora Connection Tracker Plugin](../using-the-python-driver/using-plugins/UsingTheAuroraConnectionTrackerPlugin.md)
65+
* [Failover Connection Plugin](../using-the-python-driver/using-plugins/UsingTheFailoverPlugin.md)
66+
* [Host Monitoring Connection Plugin](../using-the-python-driver/using-plugins/UsingTheHostMonitoringPlugin.md)
6767

6868
The compatibility of other plugins has not been tested at this time. They may function as expected or potentially result in unhandled behavior.
6969
Use at your own discretion.

tests/unit/test_verify_links.py

Lines changed: 0 additions & 71 deletions
This file was deleted.

0 commit comments

Comments
 (0)