kraph 0.3.0__tar.gz → 0.3.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. {kraph-0.3.0 → kraph-0.3.1}/PKG-INFO +1 -1
  2. {kraph-0.3.0 → kraph-0.3.1}/kraph/api/schema.graphql +30 -28
  3. {kraph-0.3.0 → kraph-0.3.1}/kraph/api/schema.py +4854 -4620
  4. {kraph-0.3.0 → kraph-0.3.1}/kraph/rekuest.py +19 -22
  5. {kraph-0.3.0 → kraph-0.3.1}/pyproject.toml +1 -1
  6. {kraph-0.3.0 → kraph-0.3.1}/.gitignore +0 -0
  7. {kraph-0.3.0 → kraph-0.3.1}/README.md +0 -0
  8. {kraph-0.3.0 → kraph-0.3.1}/kraph/__init__.py +0 -0
  9. {kraph-0.3.0 → kraph-0.3.1}/kraph/api/__init__.py +0 -0
  10. {kraph-0.3.0 → kraph-0.3.1}/kraph/api/project.json +0 -0
  11. {kraph-0.3.0 → kraph-0.3.1}/kraph/arkitekt.py +0 -0
  12. {kraph-0.3.0 → kraph-0.3.1}/kraph/contrib/fakts/__init__.py +0 -0
  13. {kraph-0.3.0 → kraph-0.3.1}/kraph/contrib/fakts/datalayer.py +0 -0
  14. {kraph-0.3.0 → kraph-0.3.1}/kraph/datalayer.py +0 -0
  15. {kraph-0.3.0 → kraph-0.3.1}/kraph/errors.py +0 -0
  16. {kraph-0.3.0 → kraph-0.3.1}/kraph/funcs.py +0 -0
  17. {kraph-0.3.0 → kraph-0.3.1}/kraph/io.py +0 -0
  18. {kraph-0.3.0 → kraph-0.3.1}/kraph/kraph.py +0 -0
  19. {kraph-0.3.0 → kraph-0.3.1}/kraph/links/__init__.py +0 -0
  20. {kraph-0.3.0 → kraph-0.3.1}/kraph/links/errors.py +0 -0
  21. {kraph-0.3.0 → kraph-0.3.1}/kraph/links/upload.py +0 -0
  22. {kraph-0.3.0 → kraph-0.3.1}/kraph/py.typed +0 -0
  23. {kraph-0.3.0 → kraph-0.3.1}/kraph/rath.py +0 -0
  24. {kraph-0.3.0 → kraph-0.3.1}/kraph/scalars.py +0 -0
  25. {kraph-0.3.0 → kraph-0.3.1}/kraph/traits.py +0 -0
  26. {kraph-0.3.0 → kraph-0.3.1}/kraph/vars.py +0 -0
  27. {kraph-0.3.0 → kraph-0.3.1}/kraph/widgets.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kraph
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: the arkitekt knowledge graph
5
5
  Author-email: jhnnsrs <jhnnsrs@gmail.com>
6
6
  License-Expression: GPL-3.0-or-later
@@ -428,6 +428,7 @@ type StructureCategoryDefinition implements CategoryDefintion {
428
428
  categoryFilters: [ID!]
429
429
  categoryExcludeFilters: [ID!]
430
430
  matches: [StructureCategory!]!
431
+ identifierFilters: [StructureIdentifier!]
431
432
  }
432
433
 
433
434
  interface CategoryDefintion {
@@ -490,6 +491,11 @@ type StructureCategory implements NodeCategory & BaseCategory {
490
491
  identifier: String!
491
492
  }
492
493
 
494
+ """
495
+ The `StructureIdentifier` scalar type represents a identifier of a structure
496
+ """
497
+ scalar StructureIdentifier
498
+
493
499
  input MetricCategoryFilter {
494
500
  ids: [ID!]
495
501
  id: ID
@@ -926,6 +932,7 @@ input MeasurementCategoryFilter {
926
932
  id: ID
927
933
  search: String
928
934
  graph: ID
935
+ sourceIdentifier: String = null
929
936
  AND: MeasurementCategoryFilter
930
937
  OR: MeasurementCategoryFilter
931
938
  NOT: MeasurementCategoryFilter
@@ -1672,11 +1679,6 @@ type KnowledgeView {
1672
1679
  structure: Structure
1673
1680
  }
1674
1681
 
1675
- """
1676
- The `StructureIdentifier` scalar type represents a identifier of a structure
1677
- """
1678
- scalar StructureIdentifier
1679
-
1680
1682
  """Filter for entity relations in the graph"""
1681
1683
  input StructureFilter {
1682
1684
  """Filter by graph ID"""
@@ -2236,12 +2238,34 @@ input MeasurementCategoryInput {
2236
2238
  label: String!
2237
2239
 
2238
2240
  """The source definition for this expression"""
2239
- structureDefinition: CategoryDefinitionInput!
2241
+ structureDefinition: StructureCategoryDefinitionInput!
2240
2242
 
2241
2243
  """The target definition for this expression"""
2242
2244
  entityDefinition: CategoryDefinitionInput!
2243
2245
  }
2244
2246
 
2247
+ """Input for creating a new expression"""
2248
+ input StructureCategoryDefinitionInput {
2249
+ """A list of classes to filter the entities"""
2250
+ categoryFilters: [ID!] = null
2251
+
2252
+ """A list of StructureIdentifier to filter the entities"""
2253
+ identifierFilters: [StructureIdentifier!] = null
2254
+
2255
+ """A list of tags to filter the entities by"""
2256
+ tagFilters: [String!] = null
2257
+
2258
+ """
2259
+ The default ACTIVE reagent to use for this port if a reagent is not provided
2260
+ """
2261
+ defaultUseActive: ID = null
2262
+
2263
+ """
2264
+ The default creation of entity or reagent to use for this port if a reagent is not provided
2265
+ """
2266
+ defaultUseNew: ID = null
2267
+ }
2268
+
2245
2269
  """Input for updating an existing expression"""
2246
2270
  input UpdateMeasurementCategoryInput {
2247
2271
  """The ID of the expression to update"""
@@ -2454,28 +2478,6 @@ input StructureRelationCategoryInput {
2454
2478
  targetDefinition: StructureCategoryDefinitionInput!
2455
2479
  }
2456
2480
 
2457
- """Input for creating a new expression"""
2458
- input StructureCategoryDefinitionInput {
2459
- """A list of classes to filter the entities"""
2460
- categoryFilters: [ID!] = null
2461
-
2462
- """A list of StructureIdentifier to filter the entities"""
2463
- identifierFilters: [StructureIdentifier!] = null
2464
-
2465
- """A list of tags to filter the entities by"""
2466
- tagFilters: [String!] = null
2467
-
2468
- """
2469
- The default ACTIVE reagent to use for this port if a reagent is not provided
2470
- """
2471
- defaultUseActive: ID = null
2472
-
2473
- """
2474
- The default creation of entity or reagent to use for this port if a reagent is not provided
2475
- """
2476
- defaultUseNew: ID = null
2477
- }
2478
-
2479
2481
  """Input for updating an existing expression"""
2480
2482
  input UpdateStructureRelationCategoryInput {
2481
2483
  """A detailed description of the expression"""