Skip to content

Commit eecca48

Browse files
Fix dependency error
Signed-off-by: Tanisha Agarwal <[email protected]>
1 parent 6a40f7f commit eecca48

File tree

7 files changed

+13852
-50505
lines changed

7 files changed

+13852
-50505
lines changed

external/pxl_documentation.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,7 @@
12851285
"def": {
12861286
"name": "class Client",
12871287
"declaration": "Client(self, token: str, server_url: str = 'work.withpixie.ai', use_encryption: bool = False, channel_fn: Callable[[str], grpc.Channel] = None, conn_channel_fn: Callable[[str], grpc.aio._base_channel.Channel] = None )",
1288-
"docstring": "Client is the main entry point to the Pixie API.\n\nTo setup the client, you need to generate an API token\nand pass it in as the first argument.\nSee: https://docs.px.dev/using-pixie/api-quick-start/\nfor more info."
1288+
"docstring": "Client is the main entry point to the Pixie API.\n\nTo setup the client, you need to generate an API token\nand pass it in as the first argument.\nSee: [https://docs.px.dev/using-pixie/api-quick-start/](https://docs.px.dev/using-pixie/api-quick-start/)\nfor more info."
12891289
},
12901290
"methods": [
12911291
{
@@ -1384,7 +1384,7 @@
13841384
"def": {
13851385
"name": "class Row",
13861386
"declaration": "Row(self, table: pxapi.data._TableStream, data: List[Any])",
1387-
"docstring": "Row represents a row of data for a particular table. You can easily access\ndata in the row by using the column name from the associated table.\n\nSpecifically designed to avoid allocation memory for the relation for each row.\n\nExamples:\n \u003e\u003e\u003e tableA = Table(\"a\", relation=((\"cola\",int), (\"colb\", int), (\"colc\", string)))\n \u003e\u003e\u003e row = Row(tableA, [1,2,\"three\"])\n \u003e\u003e\u003e row[\"cola\"]\n 1\n \u003e\u003e\u003e row[\"colb\"]\n 2\n \u003e\u003e\u003e row[\"colc\"]\n \"three\"\n \u003e\u003e\u003e row\n { \"cola\": 1, \"colb\": 2, \"colc\": \"three\" }"
1387+
"docstring": "Row represents a row of data for a particular table. You can easily access\ndata in the row by using the column name from the associated table.\n\nSpecifically designed to avoid allocation memory for the relation for each row.\n\nExamples:\n \u003e\u003e\u003e tableA = Table(\"a\", relation=((\"cola\",int), (\"colb\", int), (\"colc\", string)))\n \u003e\u003e\u003e row = Row(tableA, [1,2,\"three\"])\n \u003e\u003e\u003e row[\"cola\"]\n 1\n \u003e\u003e\u003e row[\"colb\"]\n 2\n \u003e\u003e\u003e row[\"colc\"]\n \"three\"\n \u003e\u003e\u003e row\n {`{ \"cola\": 1, \"colb\": 2, \"colc\": \"three\" }`}"
13881388
},
13891389
"methods": []
13901390
},
@@ -6145,7 +6145,7 @@
61456145
{
61466146
"name": "redact_pii_best_effort",
61476147
"brief": "Make a best effort to redact Personally Identifiable Information (PII).",
6148-
"desc": "Replace instances of PII with '\u003cREDACTED_$TYPE\u003e' eg. '\u003cREDACTED_EMAIL\u003e' or '\u003cREDACTED_IPv4\u003e'. Currently, it will (on a best effort basis) redact IP addresses, email addresses, MAC addresses, IMEI numbers, credit card numbers, and IBAN numbers. However, the redaction is not perfect, so it should not be used in a context where privacy needs to be guaranteed.",
6148+
"desc": "Replace instances of PII with {`'\u003cREDACTED_$TYPE\u003e'`} eg. {`'\u003cREDACTED_EMAIL\u003e'`} or {`'\u003cREDACTED_IPv4\u003e'`}. Currently, it will (on a best effort basis) redact IP addresses, email addresses, MAC addresses, IMEI numbers, credit card numbers, and IBAN numbers. However, the redaction is not perfect, so it should not be used in a context where privacy needs to be guaranteed.",
61496149
"examples": [
61506150
{
61516151
"value": "```\ndf.redacted = px.redact_pii_best_effort(df.req_body)\n```"

gatsby-browser.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
* See: https://www.gatsbyjs.org/docs/browser-apis/
2323
*/
2424
import React from 'react';
25+
import * as ReactDOM from 'react-dom';
2526
import MainThemeProvider from './src/components/mainThemeProvider.tsx';
2627
import './src/global.css';
2728
import SidebarProvider from './src/components/sidebar/sidebarProvider.tsx';
@@ -30,6 +31,12 @@ import SearchProvider from './src/components/search-context.tsx';
3031
import { processClientEntry, runZoom } from './src/components/image-zoom-modal.plugin.ts';
3132
import TabSwitcherProvider from './src/components/tabSwitcherProvider.tsx';
3233

34+
export const replaceHydrateFunction = () => {
35+
return (element, container, callback) => {
36+
ReactDOM.render(element, container, callback);
37+
};
38+
};
39+
3340
export const onClientEntry = () => {
3441
processClientEntry();
3542
};

gatsby-config.js

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -65,24 +65,9 @@ const algolia = {
6565
const plugins = [
6666
'gatsby-plugin-sitemap',
6767
'gatsby-plugin-sharp',
68-
'gatsby-plugin-emotion',
6968
'gatsby-plugin-react-helmet',
7069
'gatsby-plugin-material-ui',
7170
'gatsby-plugin-styled-components',
72-
'gatsby-transformer-json',
73-
{
74-
resolve: 'gatsby-source-filesystem',
75-
options: {
76-
name: 'external',
77-
path: `${__dirname}/external`,
78-
},
79-
},
80-
{
81-
resolve: 'gatsby-transformer-remark',
82-
options: {
83-
plugins: ['gatsby-remark-images'],
84-
},
85-
},
8671
{
8772
resolve: 'gatsby-plugin-mdx',
8873
options: {
@@ -167,7 +152,6 @@ const plugins = [
167152
display: 'block',
168153
},
169154
},
170-
'@pauliescanlon/gatsby-mdx-embed',
171155
'gatsby-plugin-remove-serviceworker',
172156
'gatsby-plugin-meta-redirect',
173157
{

0 commit comments

Comments
 (0)