File tree 2 files changed +2
-10
lines changed
2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -129,11 +129,7 @@ def schema(self, schema: str) -> AsyncPostgrestClient:
129
129
130
130
The schema needs to be on the list of exposed schemas inside Supabase.
131
131
"""
132
- if self .options .schema != schema :
133
- self .options .schema = schema
134
- if self ._postgrest :
135
- self ._postgrest .schema (schema )
136
- return self .postgrest
132
+ return self .postgrest .schema (schema )
137
133
138
134
def from_ (self , table_name : str ) -> AsyncRequestBuilder :
139
135
"""Perform a table operation.
Original file line number Diff line number Diff line change @@ -128,11 +128,7 @@ def schema(self, schema: str) -> SyncPostgrestClient:
128
128
129
129
The schema needs to be on the list of exposed schemas inside Supabase.
130
130
"""
131
- if self .options .schema != schema :
132
- self .options .schema = schema
133
- if self ._postgrest :
134
- self ._postgrest .schema (schema )
135
- return self .postgrest
131
+ return self .postgrest .schema (schema )
136
132
137
133
def from_ (self , table_name : str ) -> SyncRequestBuilder :
138
134
"""Perform a table operation.
You can’t perform that action at this time.
0 commit comments