File tree 2 files changed +1
-2
lines changed
2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ info = farm_client.info()
163
163
164
164
### Client methods
165
165
166
- farmOS.py can connect to farmOS servers running version 1.x or 2.x. The version should be specified when instantiating
166
+ farmOS.py can connect to farmOS servers running version ^1.6 or 2.x. The version should be specified when instantiating
167
167
the farmOS client, see [ Authentication] ( #authentication ) .
168
168
169
169
Because of [ API changes] ( https://2x.farmos.org/development/api/changes/ ) in farmOS 2.x, the client provides different
Original file line number Diff line number Diff line change @@ -83,7 +83,6 @@ def __init__(
83
83
raise Exception ("No hostname provided and could not be loaded from config." )
84
84
85
85
logger .debug ("Creating an OAuth Session." )
86
- # TODO: Document that this token path requires farmOS v1.6
87
86
# OR implement a method to check both token paths.
88
87
# maybe version can default to none, and check the server?
89
88
token_url = hostname + "/oauth/token"
You can’t perform that action at this time.
0 commit comments