AQIT 0.1.0
Loading...
Searching...
No Matches
aquin.publish_public_sae Namespace Reference

Functions

None _load_env_files ()
str|None _parse_flag (list[str] args, str name)
float|int|None _parse_num (list[str] args, str name, float|int|None fallback=None)
dict[str, Any]|None _read_json (Path path)
 _r2_client ()
None _upload_r2 (Any client, str bucket, str key, Path file_path, str content_type)
dict[str, Any] _supabase_upsert (dict[str, Any] row)
None publish_public_sae (list[str] args)

Function Documentation

◆ _load_env_files()

None _load_env_files ( )
protected

Definition at line 17 of file publish_public_sae.py.

Referenced by publish_public_sae().

◆ _parse_flag()

str | None _parse_flag ( list[str] args,
str name )
protected

Definition at line 40 of file publish_public_sae.py.

Referenced by _parse_num(), and publish_public_sae().

◆ _parse_num()

float | int | None _parse_num ( list[str] args,
str name,
float | int | None fallback = None )
protected

Definition at line 47 of file publish_public_sae.py.

References _parse_flag().

Referenced by publish_public_sae().

◆ _r2_client()

_r2_client ( )
protected

Definition at line 67 of file publish_public_sae.py.

Referenced by publish_public_sae().

◆ _read_json()

dict[str, Any] | None _read_json ( Path path)
protected

Definition at line 58 of file publish_public_sae.py.

Referenced by publish_public_sae().

◆ _supabase_upsert()

dict[str, Any] _supabase_upsert ( dict[str, Any] row)
protected

Definition at line 104 of file publish_public_sae.py.

Referenced by publish_public_sae().

◆ _upload_r2()

None _upload_r2 ( Any client,
str bucket,
str key,
Path file_path,
str content_type )
protected

Definition at line 98 of file publish_public_sae.py.

Referenced by publish_public_sae().

◆ publish_public_sae()

None publish_public_sae ( list[str] args)