- Sort Score
- Result 10 results
- Languages All
Results 521 - 530 of 823 for get_data (0.09 sec)
-
docs_src/sql_databases/tutorial001_an.py
sqlite_file_name = "database.db" sqlite_url = f"sqlite:///{sqlite_file_name}" connect_args = {"check_same_thread": False} engine = create_engine(sqlite_url, connect_args=connect_args) def create_db_and_tables(): SQLModel.metadata.create_all(engine) def get_session(): with Session(engine) as session: yield session SessionDep = Annotated[Session, Depends(get_session)] app = FastAPI()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/GraphConflictResolutionException.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.repository.metadata; /** * * */ @Deprecated public class GraphConflictResolutionException extends Exception { private static final long serialVersionUID = 2677613140287940255L;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0) -
cmd/object-handlers-common.go
return false } // Headers to be set of object content is not going to be written to the client. writeHeaders := func() { // set common headers setCommonHeaders(w) // set object-related metadata headers w.Header().Set(xhttp.LastModified, objInfo.ModTime.UTC().Format(http.TimeFormat)) if objInfo.ETag != "" { w.Header()[xhttp.ETag] = []string{"\"" + objInfo.ETag + "\""} } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 03 06:33:53 UTC 2024 - 15.3K bytes - Viewed (0) -
cmd/bucket-lifecycle_test.go
meta: map[string]string{}, remote: true, }, } for i, tc := range testCases { // Set transition status to complete fi.TransitionStatus = lifecycle.TransitionComplete fi.Metadata = tc.meta if got := fi.IsRemote(); got != tc.remote { t.Fatalf("Test %d.a: expected %v got %v", i+1, tc.remote, got) } oi := fi.ToObjectInfo("bucket", "object", false)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 31 09:57:57 UTC 2022 - 7K bytes - Viewed (0) -
docs_src/sql_databases/tutorial002_py310.py
sqlite_file_name = "database.db" sqlite_url = f"sqlite:///{sqlite_file_name}" connect_args = {"check_same_thread": False} engine = create_engine(sqlite_url, connect_args=connect_args) def create_db_and_tables(): SQLModel.metadata.create_all(engine) def get_session(): with Session(engine) as session: yield session app = FastAPI() @app.on_event("startup") def on_startup(): create_db_and_tables()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 2.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
} public String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository) { return fallback.pathOfLocalRepositoryMetadata(metadata, repository); } public String pathOfRemoteRepositoryMetadata(ArtifactMetadata metadata) { return fallback.pathOfRemoteRepositoryMetadata(metadata); } @Override public String toString() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 31.6K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_tutorial001.py
from sqlmodel import SQLModel, create_engine from sqlmodel.main import default_registry from tests.utils import needs_py39, needs_py310 def clear_sqlmodel(): # Clear the tables in the metadata for the default base model SQLModel.metadata.clear() # Clear the Models associated with the registry, to avoid warnings default_registry.dispose() @pytest.fixture( name="client", params=[ "tutorial001",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 14.8K bytes - Viewed (0) -
cmd/batch-expire_test.go
createdBefore: "2006-01-02T15:04:05.00Z" # match objects created before "date" tags: - key: name value: pick* # match objects with tag 'name', all values starting with 'pick' metadata: - key: content-type value: image/* # match objects with 'content-type', all values starting with 'image/' size: lessThan: "10MiB" # match objects with size less than this value (e.g. 10MiB)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 5.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/GraphConflictResolver.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.repository.metadata; import org.apache.maven.artifact.ArtifactScopeEnum; /** * Resolves conflicts in the supplied dependency graph. * Different implementations will implement different conflict resolution policies. * */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/TestArtifactResolver.java
* under the License. */ package org.apache.maven.project; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import org.apache.maven.artifact.metadata.ArtifactMetadataSource; import org.apache.maven.artifact.resolver.DefaultArtifactResolver; @Named("classpath") @Singleton @Deprecated public class TestArtifactResolver extends DefaultArtifactResolver {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0)