Skip to content

Commit 53a968c

Browse files
author
clickingbuttons
authored
lowercase vx (#191)
* lowercase vx * docs
1 parent 277ad78 commit 53a968c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/source/vX.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ vX
44
==========
55

66
.. note::
7-
To call vX methods, use the vX class member on RESTClient.
7+
To call vX methods, use the vx class member on RESTClient.
88

99
For example, :code:`financials = RESTClient().vx.list_stock_financials()`
1010

@@ -16,4 +16,4 @@ List stock financials
1616

1717
.. automethod:: polygon.rest.VXClient.list_stock_financials
1818

19-
.. _Stocks financials vX: https://polygon.io/docs/stocks/get_vx_reference_financials
19+
.. _Stocks financials vX: https://polygon.io/docs/stocks/get_vx_reference_financials

polygon/rest/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def __init__(
5252
base=base,
5353
verbose=verbose,
5454
)
55-
self.vX = VXClient(
55+
self.vx = VXClient(
5656
api_key=api_key,
5757
connect_timeout=connect_timeout,
5858
read_timeout=read_timeout,

test_rest/test_financials.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
class FinancialsTest(BaseTest):
2424
def test_list_stock_financials(self):
25-
financials = [f for f in self.c.vX.list_stock_financials()]
25+
financials = [f for f in self.c.vx.list_stock_financials()]
2626
expected = [
2727
StockFinancial(
2828
cik="0001413447",

0 commit comments

Comments
 (0)