Skip to content

[Question] 我想使用图空间的功能,但是没有教程,只能使用graphspace="DEFAULT" #308

@shell-nlp

Description

@shell-nlp

Problem Type (问题类型)

configs (配置项 / 文档相关)

Before submit

  • I had searched in the issues and found no similar issues.

Environment (环境信息)

  • Server Version: 1.x.x
  • Toolchain Version: 1.x.x
  • Data Size: xx vertices, xx edges >

Your Question (问题描述)

from pyhugegraph.client import PyHugeClient
# 初始化客户端
# 对于 HugeGraph API 版本 ≥ v3:(或启用 graphspace 功能)
# - 如果启用了 graphspace,则 'graphspace' 参数变得相关(默认名称为 'DEFAULT')
# - 否则,graphspace 参数是可选的,可以忽略。
client = PyHugeClient(
    "192.168.102.19:58080",
    user="admin",
    pwd="admin",
    graph="hugegraph",
    graphspace="DEFAULT",
)

我向使用图空间进行数据隔离,但是不知道怎么使用

Vertex/Edge example (问题点 / 边数据举例)

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions