Skip to content

Commit b10b338

Browse files
authored
Merge pull request #83 from valkey-io/aiven-sal/doc
docs: hide unsupported commands and fix copyright
2 parents fd7a56a + 566dc69 commit b10b338

File tree

2 files changed

+42
-6
lines changed

2 files changed

+42
-6
lines changed

docs/conf.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
# General information about the project.
6767
project = "valkey-py"
6868
current_year = datetime.datetime.now().year
69-
copyright = f"{current_year}, Valkey Inc"
69+
copyright = f"{current_year}, Redis Ltd"
7070

7171
# The version info for the project you're documenting, acts as replacement for
7272
# |version| and |release|, also used in various other places throughout the
@@ -229,7 +229,7 @@
229229
# (source start file, target name, title, author, documentclass
230230
# [howto/manual]).
231231
latex_documents = [
232-
("index", "valkey-py.tex", "valkey-py Documentation", "Valkey Inc", "manual")
232+
("index", "valkey-py.tex", "valkey-py Documentation", "Valkey", "manual")
233233
]
234234

235235
# The name of an image file (relative to this directory) to place at the top of
@@ -273,7 +273,7 @@
273273
"index",
274274
"valkey-py",
275275
"valkey-py Documentation",
276-
"Valkey Inc",
276+
"Valkey",
277277
"valkey-py",
278278
"One line description of project.",
279279
"Miscellaneous",
@@ -290,6 +290,6 @@
290290
# texinfo_show_urls = 'footnote'
291291

292292
epub_title = "valkey-py"
293-
epub_author = "Valkey Inc"
294-
epub_publisher = "Valkey Inc"
295-
epub_copyright = "2023, Valkey Inc"
293+
epub_author = "Valkey"
294+
epub_publisher = "Valkey"
295+
epub_copyright = "2023, Redis Ltd"

valkey/commands/core.py

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5103,6 +5103,10 @@ def hexpire(
51035103
lt: bool = False,
51045104
) -> ResponseT:
51055105
"""
5106+
:meta private:
5107+
5108+
Command not available in Valkey
5109+
51065110
Sets or updates the expiration time for fields within a hash key, using relative
51075111
time in seconds.
51085112
@@ -5164,6 +5168,10 @@ def hpexpire(
51645168
lt: bool = False,
51655169
) -> ResponseT:
51665170
"""
5171+
:meta private:
5172+
5173+
Command not available in Valkey
5174+
51675175
Sets or updates the expiration time for fields within a hash key, using relative
51685176
time in milliseconds.
51695177
@@ -5225,6 +5233,10 @@ def hexpireat(
52255233
lt: bool = False,
52265234
) -> ResponseT:
52275235
"""
5236+
:meta private:
5237+
5238+
Command not available in Valkey
5239+
52285240
Sets or updates the expiration time for fields within a hash key, using an
52295241
absolute Unix timestamp in seconds.
52305242
@@ -5292,6 +5304,10 @@ def hpexpireat(
52925304
lt: bool = False,
52935305
) -> ResponseT:
52945306
"""
5307+
:meta private:
5308+
5309+
Command not available in Valkey
5310+
52955311
Sets or updates the expiration time for fields within a hash key, using an
52965312
absolute Unix timestamp in milliseconds.
52975313
@@ -5350,6 +5366,10 @@ def hpexpireat(
53505366

53515367
def hpersist(self, name: KeyT, *fields: str) -> ResponseT:
53525368
"""
5369+
:meta private:
5370+
5371+
Command not available in Valkey
5372+
53535373
Removes the expiration time for each specified field in a hash.
53545374
53555375
For more information, see https://redis.io/commands/hpersist
@@ -5370,6 +5390,10 @@ def hpersist(self, name: KeyT, *fields: str) -> ResponseT:
53705390

53715391
def hexpiretime(self, key: KeyT, *fields: str) -> ResponseT:
53725392
"""
5393+
:meta private:
5394+
5395+
Command not available in Valkey
5396+
53735397
Returns the expiration times of hash fields as Unix timestamps in seconds.
53745398
53755399
For more information, see https://redis.io/commands/hexpiretime
@@ -5393,6 +5417,10 @@ def hexpiretime(self, key: KeyT, *fields: str) -> ResponseT:
53935417

53945418
def hpexpiretime(self, key: KeyT, *fields: str) -> ResponseT:
53955419
"""
5420+
:meta private:
5421+
5422+
Command not available in Valkey
5423+
53965424
Returns the expiration times of hash fields as Unix timestamps in milliseconds.
53975425
53985426
For more information, see https://redis.io/commands/hpexpiretime
@@ -5416,6 +5444,10 @@ def hpexpiretime(self, key: KeyT, *fields: str) -> ResponseT:
54165444

54175445
def httl(self, key: KeyT, *fields: str) -> ResponseT:
54185446
"""
5447+
:meta private:
5448+
5449+
Command not available in Valkey
5450+
54195451
Returns the TTL (Time To Live) in seconds for each specified field within a hash
54205452
key.
54215453
@@ -5439,6 +5471,10 @@ def httl(self, key: KeyT, *fields: str) -> ResponseT:
54395471

54405472
def hpttl(self, key: KeyT, *fields: str) -> ResponseT:
54415473
"""
5474+
:meta private:
5475+
5476+
Command not available in Valkey
5477+
54425478
Returns the TTL (Time To Live) in milliseconds for each specified field within a
54435479
hash key.
54445480

0 commit comments

Comments
 (0)